Password Synchronization

Simon Hyde shyde at
Fri Dec 26 21:56:40 GMT 1997

On Fri, 26 Dec 1997 13:25:25 -0800, you wrote:
>This would work only in the instance that the user did NOT want to login
>with a shell account. Also, the NT encrypted password is much too long for
>the Unix passwd file (32 char vs 8 char).

Luke was suggesting that you alter the login program to do the following
line of code, which will allow validation against the unix encrypted (nt
encrypted) passwords:
if (strequal(unixcrypt(lmcrypt(foo)), getunixlmpasswd(lkcl)))

More information about the samba mailing list