Using system users/passwords to authenticate

Jeff Vincent JVINCENT at
Sat Mar 10 00:12:20 GMT 2001

Hey all,

I am somewhat new to Samba, but the documentation that came with the Samba 2.0 hints that authenticating Samba users using the system user/password files is possible.  The following is a quote from the smb.conf web page as viewed using the SWAT configuration server:

"Step 1: If the client has passed a username/password pair and that username/password pair is validated by the UNIX system's password programs then the connection is made as that username. Note that this includes the \\server\service%username method of passing a username."

However, I am unable to get it to use the system user name.  I've tried setting the security to user and server, encrypted and unencrypted passwords, etc, but to no avail.  Has someone done this and if so, would you be so kind as to detail what you did?

It doesn't seem prudent to allow user-level access and yet maintain two different sets of users/passwords since I am attempting to allow users to map network drives to the systems and expect them to have access to any files/directories that they currently have access to.

Additionally, other documentation seems to suggest that non-encrypted passwords work with the system level users/passwords, but the passwords the system uses are encrypted also, at least in the /etc/shadow file, they are mangled and not human readable.  I'm into new territory here.

Thanks for any info,

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba mailing list