[clug-progsig] PHP and LDAP?

Shawn sgrover at open2space.com
Wed Aug 27 23:00:59 PDT 2008


I'm having a heck of a time finding anything useful online for this.  Hoping 
someone here can help out.

Real simple app.  Addressbook type tool.  Difference is the records are stored 
in Active Directory / LDAP.  It's a PHP app.

Plenty of details on the web for connecting to an LDAP server and reading it's 
contents.  Very little on creating a new entry (worked that out).  Even less 
on modifying that entry afterwards.  (i.e. change the email address, last 
name, etc.)  - this I can't make work at all.  I keep getting nailed with odd 
errors.  The errors make sense (can't modify a DN, or part of the RDN).  But 
I'm finding nothing on how to work around these points.

Anyone here have experience with this?  Or know of any decent resources?

As is the only option I can see is to delete the current record, then just 
create a new record with the changed data.  But I've read somewhere that AD 
doesn't actually delete LDAP records.... guess I'll find out real quick 
here...

anyways... thanks for any tips...

Shawn



More information about the clug-progsig mailing list