summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/password/README11
-rw-r--r--plugins/password/config.inc.php.dist9
2 files changed, 19 insertions, 1 deletions
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;
+
?>