Re: Do an LDAP Password Modify Extended Operation?
| From: | Mike Mackintosh | Date: | Fri, 17 Feb 2012 19:36:06 +0000 |
| Subject: | Re: Do an LDAP Password Modify Extended Operation? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316717@lists.php.net to get a copy of this message | ||
On Feb 17, 2012, at 10:57, Kirk.Johnson@zootweb.com wrote:
> Is it possible to do an LDAP Password Modify Extended Operation, as
> specified in RFC 3062? The password hashing scheme in the LDAP directory I
> am working with may change periodically, so it is my understanding that I
> can't hash a new password according to a specific scheme, e.g., {SHA}, on
> my side. Instead, I should use an Extended Operation and let the directory
> do the hashing. Is that correct? The help page for ldap_set_option
> suggests that it might be possible, but I sure can't find any example code
> anywhere.
>
> TIA
>
> Kirk
I have an example of this on my lab box at home. I noticed issues depending on if the requesting
application was Linux or windows due to the different Linux LDAP libraries.
When I get home I'll forward you the example of what I have so far