From 61347179ef3c0fa0a25d2f29f896296a4e1b812b Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 24 Aug 2009 19:29:38 +0000 Subject: - Password: added DirectAdmin driver (#1486048) --- plugins/password/README | 11 ++++++++++- plugins/password/config.inc.php.dist | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/plugins/password/README b/plugins/password/README index 80532be66..033af5f69 100644 --- a/plugins/password/README +++ b/plugins/password/README @@ -30,6 +30,7 @@ 2.2. Cyrus/SASL (sasl) 2.3. Poppassd/Courierpassd (poppassd) 2.4. LDAP (ldap) + 2.5. DirectAdmin Control Panel 3. Driver API @@ -161,10 +162,18 @@ 2.4. LDAP (ldap) ---------------- - + See config.inc.php file. Requires PEAR::Net_LDAP2 package. + 2.5. DirectAdmin Control Panel + ------------------------------------- + + You can specify which host to connect to via `password_directadmin_host` + and what port via `password_direactadmin_port`. See config.inc.php file + for more info. + + 3. Driver API ------------- diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist index 5d0a88b4e..163fddaec 100644 --- a/plugins/password/config.inc.php.dist +++ b/plugins/password/config.inc.php.dist @@ -114,4 +114,13 @@ $rcmail_config['password_ldap_pwattr'] = 'userPassword'; // Default: true $rcmail_config['password_ldap_force_replace'] = true; + +// DirectAdmin Driver options +// -------------------------- +// The host which changes the password +$rcmail_config['password_directadmin_host'] = 'localhost'; + +// TCP port used for DirectAdmin connections +$rcmail_config['password_directadmin_port'] = 2222; + ?> -- cgit v1.2.3