Mario Enrico Ragucci
2006-Apr-04 18:30 UTC
[Samba] Question regarding samba and smbldap-tools
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, I suceeded in setting up a samba server with ldap authentication using smbldap-tools. Everything is fine except one thing: If a user is changing his password inside windows client the password is encrypted and saved in ldap tree. I need this password as cleartext 'cause a webmail application only matches with cleartext passwords. I tried to set hash_encrypt="CLEARTEXT" in smbldap.conf and password program="smbldap-passwd -u %u" in smb.conf but this has no effect, the password is still encrypted. I also tried to set encrypt passwords = true inside smb.conf, but then no one is able to log on anymore. When I set the userpassword with smbldap-passwd it is saved as cleartext. Could anyone tell me which mistake I made? Thank you in advance, Mario -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEMrpyr6MOIsXBrjARAoJQAJ9UCXOZ4oQtr3vN6nhOLASPaTBpfwCfQOzY Hn7sg33B7owJK65Zix9kCLY=um0G -----END PGP SIGNATURE-----
Mario Enrico Ragucci
2006-Apr-05 02:47 UTC
[Samba] Question regarding samba and smbldap-tools
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, I suceeded in setting up a samba server with ldap authentication using smbldap-tools. Everything is fine except one thing: If a user is changing his password inside windows client the password is encrypted and saved in ldap tree. I need this password as cleartext 'cause a webmail application only matches with cleartext passwords. I tried to set hash_encrypt="CLEARTEXT" in smbldap.conf and password program="smbldap-passwd -u %u" in smb.conf but this has no effect, the password is still encrypted. I also tried to set encrypt passwords = true inside smb.conf, but then no one is able to log on anymore. When I set the userpassword with smbldap-passwd it is saved as cleartext. Could anyone tell me which mistake I made? Thank you in advance, Mario -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEMrcDr6MOIsXBrjARAqi9AJ9vh0EIyiPNt9mAq3ALw1pvujK6iwCgjIA0 Fb8sKNuXetl16/r7tbJft3M=PZL4 -----END PGP SIGNATURE-----