I have a question, and looking around the Docs, nothing comes out and just says it. Do the *Nix and smbpasswd passwords have to match? Steve K
No, Steve. The smbpasswd is used when "security=user" and "encrypt passwords=yes" is set in your smb.conf file, AND the client sends an encrypted password. In this case, the only thing the /etc/passwd file is used for is the uid/gid and possibly the home dir field for the [homes] section of your smb.conf. If a client who can NOT send encrypted passwords tries to connect, then samba will recognize that a plaintext password has been sent, and go directly to the /etc/passwd file to do authentication for that user. So they don't have to match; only one or the other will be used for a particular user comming in from a particular os. Hope that helps, Don I have a question, and looking around the Docs, nothing comes out and just says it. Do the *Nix and smbpasswd passwords have to match? Steve K -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Steve There is no reason why the passwords have to match. If you allow root to connect via Samba and as the LM hashing algorithm is so easy to break then it is a very good idea to have a different password for the Samba user to ease wear and tear on your box if someone decides to play with say L0pht crack ... However, if you want password syncronisation to work, ie you change the password on your Win PC and you want the Unix one to synch up then keep them the same. Cheers Jon Gerdes>>> "Kirkup, Steve" <skirkup@trigon.com> 17/09/2001 15:10:17 >>>I have a question, and looking around the Docs, nothing comes out and just says it. Do the *Nix and smbpasswd passwords have to match? Steve K -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba