Comment 23 for bug 32067

Revision history for this message
Max (mblaze) wrote : Re: the security parameter must be set to share, not user, in smb.conf

The obvious, simple solution is to automatically add the user via smbpasswd -a to duplicate the unix user name. The problem lies in the password. Since it is hashed, the system can't just reverse the hash, get the password, and add it to the samba user database.

A complete solution might be found with the pam_smbpass module, which keeps the samba password database in sync with /etc/passwd
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/pam.html#id424060