diff options
Diffstat (limited to 'plugins/password/drivers/ldap.php')
-rw-r--r-- | plugins/password/drivers/ldap.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/password/drivers/ldap.php b/plugins/password/drivers/ldap.php index 548d327e1..29c43fbf4 100644 --- a/plugins/password/drivers/ldap.php +++ b/plugins/password/drivers/ldap.php @@ -279,6 +279,10 @@ class rcube_ldap_password } break; + case 'ad': + $cryptedPassword = rcube_charset::convert('"' . $passwordClear . '"', RCUBE_CHARSET, 'UTF-16LE'); + break; + case 'clear': default: $cryptedPassword = $passwordClear; |