From: Sebastian Schneider on
Hello folks,

I am using Net_LDAP2 to read and modify entries in a directory.
Everythig works fine but now I encountered the following problem. I am
trying to modify an attribute called userPassword whose value can't be
retrieved from the directory.

When I am using $entry->replace() to change the password the request is
"translated" into an ADD-request. Net_LDAP2 can't retrieve the attribute
and so it's not in the entry-Object. As a result it assumes this
attribute does not exist yet and tries to add a new value. This of
course fails because userPassword is not multi-valued.

Do I get something wrong or is this really a problem with Net_LDAP2??

Best regards and thanks for reading this message,

Sebastian

--
Sebastian Schneider <schneider(a)dvz.fh-aachen.de>