[Samba] changing password under windows

mitrohin a.s. swp at swp.pp.ru
Sun Dec 24 05:06:12 GMT 2006


On Tue, Dec 19, 2006 at 03:27:31PM +0100, Andreas Fladischer wrote:
> Hi!
> 
> I have a problem with my samba domain controller. If a user want to 
> change the password under windows with ctrl+alt+del the password will be 
> stored in ldap as "SMD5" and we have to save the password as "MD5Crypt". 
> I think the samba configuration and the smb-ldaptool configuration works 
> well.
> 
> excerpts from the configuration:
> 
>       smb.conf
> 
>         passwd program = /opt/IDEALX/sbin/smbldap-passwd -u %u
>         passwd chat = *new*password* %n\n *new*password* %n\n
>         encrypt passwords = Yes
>        unix password sync = Yes
> 
>    smbldap.conf
>        hash_encrypt="CRYPT"
> 
> I hope someone can help me!
> 
> Thanks in advance!
> 

try it.

slapd.conf
...
password-hash "{CRYPT}"
password-crypt-salt-format "$1$%.8s"
...

smb.conf
...
ldap passwd sync = Yes
...

/swp


More information about the samba mailing list