|
|
@ -6,11 +6,9 @@
|
|
|
|
* Driver that adds functionality to change the user password via
|
|
|
|
* Driver that adds functionality to change the user password via
|
|
|
|
* the 'change_ldap_pass.pl' command respecting password policy (history) in LDAP.
|
|
|
|
* the 'change_ldap_pass.pl' command respecting password policy (history) in LDAP.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
|
|
|
|
* @version 1.0
|
|
|
|
* @version 1.0
|
|
|
|
* @author Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
|
|
|
|
* @author Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
|
|
|
|
*
|
|
|
|
*
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
class rcube_ldap_ppolicy_password
|
|
|
|
class rcube_ldap_ppolicy_password
|
|
|
@ -74,7 +72,6 @@ class rcube_ldap_ppolicy_password
|
|
|
|
return PASSWORD_SUCCESS;
|
|
|
|
return PASSWORD_SUCCESS;
|
|
|
|
case "Password is in history of old passwords":
|
|
|
|
case "Password is in history of old passwords":
|
|
|
|
return PASSWORD_IN_HISTORY;
|
|
|
|
return PASSWORD_IN_HISTORY;
|
|
|
|
|
|
|
|
|
|
|
|
case "Cannot connect to any server":
|
|
|
|
case "Cannot connect to any server":
|
|
|
|
return PASSWORD_CONNECT_ERROR;
|
|
|
|
return PASSWORD_CONNECT_ERROR;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
@ -96,5 +93,4 @@ class rcube_ldap_ppolicy_password
|
|
|
|
rcube::write_log('password_ldap_ppolicy', $str);
|
|
|
|
rcube::write_log('password_ldap_ppolicy', $str);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|