Re: Data Modification

Craig R. Watkins (CRW@icf.hrb.com)
Thu, 13 Jul 1995 08:09:32 -0400 (EDT)

> In using "if (ldap_modify(..) == -1)" to modify attributes in the directory,
> I always get a modify success irregardless as to whether the
> modification succeeded or failed.

ldap_modify() is asynchronous. Try using the synchronous version,
ldap_modify_s() which will return you a status code based on the completion
of the operation. ldap_modify() just submits the operation and you need
to subsequently call ldap_result() to obtain the actual results of the
operation.

Craig