Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Urgent, hence points - Samba server woes...

Posted on 2006-07-18
6
Medium Priority
?
295 Views
Last Modified: 2010-03-18
I do not have much experience with Samba, and have got stuck setting it up.
I've installed samba one of our machines (yum - Samba version 3.02315 - Fedora Core 4) but it will not authenticate using a known system user. Ideally, we would like all system users to be able to access their home directories.

Currently, I have one share set up, which is the home directory shares. I was on the understanding that once this was set up, it would allow system users to access their home directories by;

a) Connecting to \\servername
b) using their UNIX/Samba username/password

But the authentication fails, and keeps requesting the user/pass.
I am SURE that this is something simple (as ive come across this prob again and again but given up!!!) or it may be that I just don't "get" the concept of Samba.

This is urgent as customer has been waiting, hence max point value.
0
Comment
Question by:demonzzz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 

Author Comment

by:demonzzz
ID: 17129810
Forgot to mention, due to my inexperience with Samba, I've been using Webmin to configure it.
0
 
LVL 25

Accepted Solution

by:
Cyclops3590 earned 2000 total points
ID: 17130245
by default, samba keeps its own list of users, which need to be identical to the system user/pass
also they need to be enabled

do this for each user
smbpasswd -a <username>
**type password twice
smbpasswd -e <username>

You should now be able to access the share with that user
0
 

Author Comment

by:demonzzz
ID: 17136842
Thats great, I can access the shares now. However, I do not need to enter the password to access the share, which is required.
Would there be something allowing non-authenticated login?
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 17137565
by default the option on each share has guest ok set to no.
also on the windows side by default, windows will try to use the username/password you logged in with.  If that fails, then it will ask for a username/password.  If it works, then you just go in.  So if someone without a username/password tries to get to your share (or doesn't even have one, then they will get the same access denied message as you were receiving before
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question