[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 543 lignes (20 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Auth_ldap:: (10 méthodes):
Auth_ldap()
_setParams()
_connect()
_findDN()
_lookupShadow()
_authenticate()
addUser()
removeUser()
updateUser()
listUsers()
Auth_ldap($params = array() X-Ref |
Constructs a new LDAP authentication object. param: array $params A hash containing connection parameters. |
_setParams($params) X-Ref |
Set configuration parameters param: array $params A hash containing connection parameters. |
_connect() X-Ref |
Does an ldap connect and binds as the guest user or as the optional dn. return: boolean True or False based on success of connect and bind. |
_findDN($userId) X-Ref |
Find the user dn param: string $userId The userId to find. return: string The users full DN |
_lookupShadow($dn) X-Ref |
Checks for shadowLastChange and shadowMin/Max support and returns their values. We will also check for pwdLastSet if Active Directory is support is requested. For this check to succeed we need to be bound to the directory param: string $dn The dn of the user return: array array with keys being "shadowlastchange", "shadowmin" |
_authenticate($userId, $credentials) X-Ref |
Find out if the given set of login credentials are valid. param: string $userId The userId to check. param: array $credentials An array of login credentials. return: boolean True on success or a PEAR_Error object on failure. |
addUser($userId, $credentials) X-Ref |
Add a set of authentication credentials. param: string $userId The userId to add. param: array $credentials The credentials to be set. return: mixed True on success or a PEAR_Error object on failure. |
removeUser($userId) X-Ref |
Remove a set of authentication credentials. param: string $userId The userId to add. return: mixed True on success or a PEAR_Error object on failure. |
updateUser($oldID, $newID, $credentials) X-Ref |
Update a set of authentication credentials. param: string $oldID The old userId. param: string $newID The new userId. param: array $credentials The new credentials return: mixed True on success or a PEAR_Error object on failure. |
listUsers() X-Ref |
List Users return: array List of Users |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |