The new function would be of great help. I am using Apple's Panther Server. In their documentation Apple suggested to use passwd command at the terminal instead of ldap commands. If you can send me detailed instructions, I can test.
From: Stig Venaas Sent: Mon 1/5/2004 11:01 AM To: Chakravarthy Cuddapah Cc: Bc. Radek Krej?a; [EMAIL PROTECTED] Subject: Re: [PHP] Password in LDAP with php 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