Hi,
The problem occurs when an user tries to change his/her LDAP attributes. If at least one attribute is empty when submitting, a error message is given.
The code on CVS sends empty attributes to the ldap_modify function like: telephoneNumber => ''. The correct would be telephoneNumber => array(). See http://br.php.net/manual/pt_BR/function.ldap-modify.php for details.
I just implemented the solution found in the php page, and now the problem is solved.
| Comment | File | Size | Author |
|---|---|---|---|
| ldap_integration-empty-attribute.patch | 732 bytes | rodrigorgs |
Comments
Comment #1
pablobm commentedThanks for pointing out. I can't see those errors, but I presume they depend on LDAP version.
Besides, I realised attributes couldn't be set empty through the interface (at least in my version), so I solved that too.
Comment #2
pablobm commentedI presume this is solved now.