plugins/password/README | ●●●●● patch | view | raw | blame | history | |
plugins/password/config.inc.php.dist | ●●●●● patch | view | raw | blame | history | |
plugins/password/drivers/plesk.php | ●●●●● patch | view | raw | blame | history |
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 ------------- plugins/password/config.inc.php.dist
@@ -378,7 +378,7 @@ $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'; 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