PHP Class LdapTools\AttributeConverter\EncodeWindowsPassword

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait AttributeConverterTrait
Datei anzeigen Open project: ldaptools/ldaptools

Public Methods

Method Description
fromLdap ( $password )
toLdap ( $password )

Protected Methods

Method Description
validateConfiguration ( ) AD requires SSL/TLS by default to modify the unicodePwd attribute. This is probably the source of a lot of confusion when trying to create/modify a user and sending a password across. The default error from LDAP is not very helpful. This at least makes it clear what the problem is. However, it is possible for someone to disable the requirement for AD to require SSL/TLS for password modifications. But I cannot imagine that being a common change.

Method Details

fromLdap() public method

public fromLdap ( $password )

toLdap() public method

public toLdap ( $password )

validateConfiguration() protected method

AD requires SSL/TLS by default to modify the unicodePwd attribute. This is probably the source of a lot of confusion when trying to create/modify a user and sending a password across. The default error from LDAP is not very helpful. This at least makes it clear what the problem is. However, it is possible for someone to disable the requirement for AD to require SSL/TLS for password modifications. But I cannot imagine that being a common change.
protected validateConfiguration ( )