diff --git a/include/password-methods/class_password-methods.inc b/include/password-methods/class_password-methods.inc index baa3ef74df4d4690d434dfdea7c3efc43ae0e5ec..20948d3803d9d28eaaaa421fa4889cbd19d3f7a6 100644 --- a/include/password-methods/class_password-methods.inc +++ b/include/password-methods/class_password-methods.inc @@ -181,6 +181,8 @@ class passwordMethod } } $modify['userPassword'] = $pwd; + + $ldap = $config->get_ldap_link(); $ldap->cd($dn); $ldap->modify($modify);