I am a newbie in this field..
Is there any password policy in AD/LDAP? Is it possible for me to add my own policy in there using php? If yes, please tell me how or give me some reference to learn more about it. Thank you so much
I am a newbie in this field..
Is there any password policy in AD/LDAP? Is it possible for me to add my own policy in there using php? If yes, please tell me how or give me some reference to learn more about it. Thank you so much
Yes, in AD there are Password Settings Objects (PSOs) that can be used for password policy enforcement. You can create them in PHP, but there is quite a bit of work that goes into that.
msDS-PasswordSettings
'CN=Password Settings Container,CN=System,dc=domain,dc=com
There's actually a built-in method for creating PSOs in the LdapTools library. There's documentation on it here.
Some general information on PSOs on Microsoft's site: https://technet.microsoft.com/en-us/library/cc770842%28v=ws.10%29.aspx