Solved

Urgent, hence points - Samba server woes...

Posted on 2006-07-18
6
283 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
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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 149
How to enable SSH in Ubuntu. 7 92
Running Guacamole on port 80 5 161
Recipient address rejected: User unknown in virtual alias table 1 273
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

13 Experts available now in Live!

Get 1:1 Help Now