I detect a bug on OpenLDAP instance with the overlay constraints enabled when I try to rename an entry : I'm using the Net_LDAP2::move() method to rename the entry and in this case :
- the
Net_LDAP2::move() set the entry new DN with Net_LDAP2_Entry::dn() method and run Net_LDAP2_Entry::update()
- the
Net_LDAP2_Entry::update() run the ldap_rename() function to handle the DN change
- finally, it run
ldap_modify() function with an empty $modifications as changes
In common case, this ldap_modify without change, is useless but it's not a problem. However, when the contraints overlay is enabled, it's trigger its constraint_update() got null modlist error.
I detect a bug on OpenLDAP instance with the overlay constraints enabled when I try to rename an entry : I'm using the
Net_LDAP2::move()method to rename the entry and in this case :Net_LDAP2::move()set the entry new DN withNet_LDAP2_Entry::dn()method and runNet_LDAP2_Entry::update()Net_LDAP2_Entry::update()run theldap_rename()function to handle the DN changeldap_modify()function with an empty$modificationsas changesIn common case, this
ldap_modifywithout change, is useless but it's not a problem. However, when thecontraintsoverlay is enabled, it's trigger itsconstraint_update() got null modlisterror.