summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-08-24 19:29:38 +0000
committeralecpl <alec@alec.pl>2009-08-24 19:29:38 +0000
commit61347179ef3c0fa0a25d2f29f896296a4e1b812b (patch)
treebbab8244ad07acdabfebcfafe95c8ba867ff2fe4
parent7b865083e71471c2c6f9e039b42e6e8cc4ac5657 (diff)
- Password: added DirectAdmin driver (#1486048)
-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;
+
?>