summaryrefslogtreecommitdiff
path: root/plugins/password
diff options
context:
space:
mode:
authorCyrill von Wattenwyl <cvw@adfinis.com>2014-05-12 10:03:11 +0200
committerCyrill von Wattenwyl <cvw@adfinis.com>2014-05-12 10:03:11 +0200
commit187fd666aa2f32dedfe544d69b7cb213698197f2 (patch)
treeed644c9015c4ad70ed473d7df27e0c65026b39dd /plugins/password
parent12967c776ca7de75a4807b093f6be1cc33b05037 (diff)
fixed typos and added section in README
Diffstat (limited to 'plugins/password')
-rw-r--r--plugins/password/README22
-rw-r--r--plugins/password/config.inc.php.dist4
-rw-r--r--plugins/password/drivers/plesk.php12
3 files changed, 30 insertions, 8 deletions
diff --git a/plugins/password/README b/plugins/password/README
index 262ebfd86..89ffeb320 100644
--- a/plugins/password/README
+++ b/plugins/password/README
@@ -43,6 +43,7 @@
2.17. Expect (expect)
2.18. Samba (smb)
2.19. Vpopmail daemon (vpopmaild)
+ 2.20. Plesk (Plesk RPC-API)
3. Driver API
@@ -311,6 +312,27 @@
Set $config['password_vpopmaild_port'] to the port of vpopmaild.
+ 2.20. Plesk (Plesk RPC-API)
+ ---------------------------
+
+ Driver for changing Passwords via Plesk RPC-API. This Driver also works with
+ Parallels Plesk Automation (PPA).
+
+ You need to allow the IP of the Roundcube-Server for RPC-Calls in the Panel.
+
+
+ Set $config['password_plesk_host'] to the Hostname / IP where Plesk runs
+
+ Set your Admin or RPC User: $config['password_plesk_user']
+
+ Set the Password of the User: $config['password_plesk_pass']
+
+ Set $config['password_plesk_rpc_port'] for the RPC-Port. Usually its 8443
+
+ Set the RPC-Path in $config['password_plesk_rpc_path']. Normally this is: enterprise/control/agent.php;
+
+
+
3. Driver API
-------------
diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist
index 335ef7f2b..427d064a8 100644
--- a/plugins/password/config.inc.php.dist
+++ b/plugins/password/config.inc.php.dist
@@ -378,7 +378,7 @@ $config['password_plesk_user'] = 'admin';
$config['password_plesk_pass'] = 'password';
// Plesk RPC Port
-$config['password_plesk_rcp_port'] = 8443;
+$config['password_plesk_rpc_port'] = '8443';
// Plesk RPC Path
-$config['password_plesk_rcp_path'] = enterprise/control/agent.php;
+$config['password_plesk_rpc_path'] = 'enterprise/control/agent.php';
diff --git a/plugins/password/drivers/plesk.php b/plugins/password/drivers/plesk.php
index c5298a457..6f646d229 100644
--- a/plugins/password/drivers/plesk.php
+++ b/plugins/password/drivers/plesk.php
@@ -10,11 +10,11 @@
* @license GNU GPL v3
*
* Config needed:
- * $config['password_plesk_host'] = '192.168.0.15';
- * $config['password_plesk_user'] = 'admin';
- * $config['password_plesk_pass'] = 'yourRPCpass';
- * $config['password_plesk_rcp_port'] = 8443;
- * $config['password_plesk_rcp_path'] = enterprise/control/agent.php;
+ * $config['password_plesk_host'] = '10.0.0.5';
+ * $config['password_plesk_user'] = 'admin';
+ * $config['password_plesk_pass'] = 'pass';
+ * $config['password_plesk_rpc_port'] = 8443;
+ * $config['password_plesk_rpc_path'] = enterprise/control/agent.php;
*
*/
@@ -27,7 +27,7 @@
*/
class rcube_plesk_password {
- /**
+ /**
* this method is called from roundcube to change the password
*
* roundcube allready validated the old password so we just need to change it at this point