Overview

Packages

  • None
  • Passwd

Classes

  • Passwd
  • Passwd_Driver
  • Passwd_Driver_Adsi
  • Passwd_Driver_Composite
  • Passwd_Driver_Expect
  • Passwd_Driver_Expectpecl
  • Passwd_Driver_Horde
  • Passwd_Driver_Http
  • Passwd_Driver_Kolab
  • Passwd_Driver_Ldap
  • Passwd_Driver_Pine
  • Passwd_Driver_Poppassd
  • Passwd_Driver_Procopen
  • Passwd_Driver_Pspasswd
  • Passwd_Driver_Servuftp
  • Passwd_Driver_Smbldap
  • Passwd_Driver_Smbpasswd
  • Passwd_Driver_Soap
  • Passwd_Driver_Sql
  • Passwd_Driver_Vmailmgr
  • Passwd_Driver_Vpopmail
  • Passwd_Exception
  • Passwd_Factory_Driver
  • Overview
  • Package
  • Class
  • Tree

Class Passwd_Driver_Adsi

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:

$backends['adsi'] = array(
   'name' => 'Sample ADSI backend',
   'preferred' => 'localhost',
   'policy' => array(
       'minLength' => 8,
       'maxLength' => 14
   ),
   'driver' => 'adsi',
   'params' => array(
       'target' => 'YOUR_MACHINE/DOMAIN_NAME_HERE'
   )
)

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

Copyright 2004-2012 Horde LLC (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.

Passwd_Driver
Extended by Passwd_Driver_Adsi
Package: Passwd
Author: Luiz R Malheiros malheiros@gmail.com
Located at Driver/Adsi.php
Methods summary
public
# changePassword( string $user_name, string $old_password, string $new_password )

Changes the user's password.

Changes the user's password.

Parameters

$user_name
The user for which to change the password.
$old_password
The old (current) user password.
$new_password
The new user password to set.

Throws

Passwd_Exception
Methods inherited from Passwd_Driver
__construct()
API documentation generated by ApiGen