Solved

Urgent, hence points - Samba server woes...

Posted on 2006-07-18
6
281 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
  • 2
  • 2
6 Comments
 

Author Comment

by:demonzzz
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now