Class Passwd_Driver_smbldap

Description

The LDAP class attempts to change a user's LDAP password and Samba password stored in an LDAP directory service.

Copyright 2004-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.php.

Located in /lib/Driver/smbldap.php (line 28)

Passwd_Driver
   |
   --Passwd_Driver_ldap
      |
      --Passwd_Driver_smbldap
Method Summary
 Passwd_Driver_smbldap Passwd_Driver_smbldap ([array $params = array()])
 boolean changePassword (string $username, string $old_password, string $new_password)
Variables
Methods
Constructor Passwd_Driver_smbldap (line 35)

Constructs a new Passwd_Driver_smbldap object.

Passwd_Driver_smbldap Passwd_Driver_smbldap ([array $params = array()])
  • array $params: A hash containing connection parameters.
changePassword (line 56)

Change the user's password.

  • return: True or false based on success of the change.
boolean changePassword (string $username, string $old_password, string $new_password)
  • string $username: The user for which to change the password.
  • string $old_password: The old (current) user password.
  • string $new_password: The new user password to set.

Redefinition of:
Passwd_Driver_ldap::changePassword()
Changes the user's password.

Inherited Methods

Inherited From Passwd_Driver_ldap

 Passwd_Driver_ldap::Passwd_Driver_ldap()
 Passwd_Driver_ldap::changePassword()
 Passwd_Driver_ldap::_bind()
 Passwd_Driver_ldap::_connect()
 Passwd_Driver_ldap::_lookupdn()

Inherited From Passwd_Driver

 Passwd_Driver::Passwd_Driver()
 Passwd_Driver::changePassword()
 Passwd_Driver::comparePasswords()
 Passwd_Driver::encryptPassword()
 Passwd_Driver::factory()

Documentation generated on Sun, 30 Jan 2011 05:36:08 +0000 by phpDocumentor 1.4.3