Encrypt Passwords & Mixed Case Passwords

Gerald Carter gcarter at valinux.com
Sat Dec 9 20:46:21 GMT 2000


Chen Shiyuan wrote:
> 
> If I recall correctly, when using "encrypt passwords = no" 
> , Samba will lookup the username/password via the 
> UNIX /etc/passwd file or equivalent.  And as the password 
> can have mixed-case passwords, the "password level =
> x" parameter is used to produce the number of permutations 
> of the user supplied password to see if it matches that 
> of the server.

Correct.

> But what about when using "encrypt passwords = yes" ? 
> Is the "password level = x" parameter still needed? Will 
> the mixed case password issue still occur or will the 
> passwords all be converted into UPPPER or lower
> case and then stored in the /etc/smbpasswd file?

password level has no effect when using encrypt 
passwords = yes as the clear text of the password 
is never used.





-- Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba mailing list