Hopefully, one considers PHP as a database and this is the right area to post.
I'm writing an LDAP user administration site right now and am running into some issues.
When we create users, we also create an encrypted field named defaultpassword, which stores the user's defaultpassword. I'm trying to write a function to grab that info and copy it into their current password field. PHP, however, fails to grab that data. It also fails on a couple of other fields, namely having to do with passwords. The common link is that they are all of type octet-string within the ldap db.
I know this is possible from python, as our old software written in python works just fine. Does anyone have any advice? Like I said, PHP just grabs nothing when trying to grab the data out of the field.
Much appreciated.
Andrew