On Tue, 2007-12-18 at 17:10 -0500, Douglass Davis wrote:
> Is there a way to both do a delete and an add with the same PHP LDAP API 
> modify call?  

The LDAP support in PHP is wretched.  My strong suggestion is to call
out to a webservice (via XML-RPC, SOAP, or ICE) to proxy LDAP changes.
Working with LDAP via Java or .NET is much much easier than with PHP.

> I know you can do this with C, but I can't figure out how 
> it would be done with PHP.

One way you could do it is to generate the LDIF modification request and
invoke the utility (ldapmodify) to make the change for you.  But that is
pretty ugly.

> "There are two possible ways to modify the unicodePwd attribute. The
> first is similar to a normal "user change password" operation. In this

Why not use the "user change password" operation?  I think invoking
exops is possible via PHP,  although it may not be very well documented
(nothing "advanced" in PHP ever is).

Attachment: signature.asc
Description: This is a digitally signed message part

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to