[sork] New ADSI driver for passwd - Recommended for NT Domains or Standalone Machines

LRM lrm at ionline.com.br
Tue Sep 14 23:19:34 PDT 2004


Had to make a simple driver to change passwords on standalone
Win32 machines or NT domains ... Here's a brief 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:
 *
 * $backends['adsi'] = array(
 *    'name' => 'Sample ADSI backend',
 *    'preferred' => 'localhost',
 *    'password 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)

Hope you guys enjoy it...

Regards,

LRM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adsi.php
Type: application/octet-stream
Size: 1796 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20040915/22c841d5/adsi.obj


More information about the sork mailing list