On Mon, Jan 05, 2004 at 10:45:58AM -0500, Chakravarthy Cuddapah wrote:
> You can do this in PHP. Check this: http://us4.php.net/manual/en/ref.ldap.php
> I wrote a form in PHP to add users to LDAP, change passwords etc. Check this 
> https://www.cuddapahonline.net/ldap/ 
> I can send the forms if you want. 

I'm also planning to commit to PHP a new function that uses the LDAP
control specificed in RFC 3062 for changing passwords. I have some code
that might work... The point is that instead of updating the userPassword
attribute, doing your own hashing etc. you just give the LDAP server the
old and new password in clear text. This is very useful in cases where
the password isn't stored in the LDAP tree itself. It requires the LDAP
server to support RFC 3062 though, not sure if there are others than
OpenLDAP.

I would need some volunteer that could test a patch.

Stig

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to