top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

OpenLDAP password policy response when using PHP

+1 vote
211 views

I'm trying to pull the password policy response message from ldap_bind() method: password is expiring, password expired etc.

While checking the packet content from OpenLDAP after ldap_bind() request, with Wireshark, there is a control hooked to the ldap_bind() response, were the message code and message text about password expiration is, but I can't manage to parse that message from response.

I set the password policy request server control before the bind with ldap_set_option(). Any workaround or what am I doing wrong?

posted Jul 29, 2013 by Jagan Mishra

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
–1 vote

I want to create a One Time Password(OTP) for my site. I need some random password for the user, can anyone tell me how it can be done.

+10 votes

I want to save a password in encrypted form, so that it will not be understand by human. Is it possible ? If yes then please explain briefly.

...