Class Passwd_Driver_adsi

Description

The ADSI class changes a user's password on any Windows Machine/NT-Domain using the ADSI COM Interface.

NOTES:

  • If you plan to implement passwd over Active Direcory you must use the LDAP driver and not this one! This driver is designed for standalone machines or NT4 domains, only.
  • The host server must be Win32 with ADSI support.
Sample backend configuration:
  1.  $backends['adsi'array(
  2.     'name' => 'Sample ADSI backend',
  3.     'preferred' => 'localhost',
  4.     'password policy' => array(
  5.         'minLength' => 8,
  6.         'maxLength' => 14
  7.     ),
  8.     'driver' => 'adsi',
  9.     'params' => array(
  10.         'target' => 'YOUR_MACHINE/DOMAIN_NAME_HERE'
  11.     )
  12.  )

Backend parameters: target = Target Windows machine/domain name (Required)

$Horde: passwd/lib/Driver/adsi.php,v 1.4.2.5 2009/01/06 15:25:23 jan Exp $

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/adsi.php (line 44)

Passwd_Driver
   |
   --Passwd_Driver_adsi
Method Summary
 void changePassword ( $user_name,  $old_password,  $new_password)
Variables
Methods
changePassword (line 46)
void changePassword ( $user_name,  $old_password,  $new_password)
  • $user_name
  • $old_password
  • $new_password

Redefinition of:
Passwd_Driver::changePassword()
Change the user's password.

Inherited Methods

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:07 +0000 by phpDocumentor 1.4.3