Sebastien BEAUDLOT
2018-09-26 15:11:26 UTC
Hi,
I am trying to push passwords for my LDAP users to a Samba 4 AD (like instructions in this howto : https://lsc-project.org/documentation/tutorial/openldaptoactivedirectory), but i'm stuck with a LDAP Error 53 :
Error while modifying entry CN=beaudlot,cn=Users,dc=adbaka,dc=univ-avignon,dc=fr in directory :javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002035: setup_io: it's not allowed to set the NT hash password directly'];
Dataset look like :
<dataset>
<name>unicodePwd</name>
<policy>FORCE</policy>
<createValues>
<string>AD.getUnicodePwd("JustTesting4Password!")</string>
</createValues>
</dataset>
(I am just trying to push a fixed string for now, but future plans will include pre-encrypted passwords with passwordhk.pl)
Samba 4 AD connection is secured. I tried TLS and SSL/ldaps, both working for all other attributes. I also tried to bind with both the builtin administrator account and a manually made lsc service account.
Password update seems way more tricky than other attributes, and i may be missing something important here ...
Regards.
--
Sébastien BEAUDLOT
Administrateur systÚme, réseaux et téléphonie
Direction Opérationnelle des SystÚmes d'Information ( DOSI )
PÃŽle Infrastructures
Université d'Avignon et des Pays de Vaucluse
TÚl : 04.90.16.26.04
--
I am trying to push passwords for my LDAP users to a Samba 4 AD (like instructions in this howto : https://lsc-project.org/documentation/tutorial/openldaptoactivedirectory), but i'm stuck with a LDAP Error 53 :
Error while modifying entry CN=beaudlot,cn=Users,dc=adbaka,dc=univ-avignon,dc=fr in directory :javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002035: setup_io: it's not allowed to set the NT hash password directly'];
Dataset look like :
<dataset>
<name>unicodePwd</name>
<policy>FORCE</policy>
<createValues>
<string>AD.getUnicodePwd("JustTesting4Password!")</string>
</createValues>
</dataset>
(I am just trying to push a fixed string for now, but future plans will include pre-encrypted passwords with passwordhk.pl)
Samba 4 AD connection is secured. I tried TLS and SSL/ldaps, both working for all other attributes. I also tried to bind with both the builtin administrator account and a manually made lsc service account.
Password update seems way more tricky than other attributes, and i may be missing something important here ...
Regards.
--
Sébastien BEAUDLOT
Administrateur systÚme, réseaux et téléphonie
Direction Opérationnelle des SystÚmes d'Information ( DOSI )
PÃŽle Infrastructures
Université d'Avignon et des Pays de Vaucluse
TÚl : 04.90.16.26.04
--