Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm looking to have my users use their local accounts on my Linux servers without the need to create a separate user/password for Samba. Is there any way to use the /etc/passwd file as the the authentication mechanism when they go to map a drive? Can this be done using PAM?

I don't want to use AD as the domain ID's are different than those on the Linux servers.

Any advice/direction would be greatly appreciated.

share|improve this question
1  
If AD/Linux authentication is something you'd like later, you might check into Likewise Open –  Matt Simmons Jul 22 '09 at 16:43

2 Answers 2

samba cannot just use passwd/shadow, because several additional attributes are to be stored.

But you can setup samba with tdbsam-backend and let samba synchronise the passwords.

Or you setup an open ldap-backend for system and samba auth. But this is not that trivial ....

share|improve this answer
1  
+1 - Sometimes, the answer is 'no' :) –  romandas Jul 22 '09 at 19:32

You might take a look at this resource: http://www.devshed.com/c/a/Administration/Authentication-in-Samba/

it seems to cover exactly what you're looking for.

share|improve this answer
    
It covers it, but not without some additional digging. –  romandas Jul 22 '09 at 19:33
    
I suppose the extra work makes my answer unhelpful, considering the person who asked finished the question requesting a direction to be pointed in. meh. –  Matt Simmons Jul 22 '09 at 19:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.