LDAP maxPwdAge Returns null

LDAP maxPwdAge Returns null

by Nadirshah Ferozepurwalla -
Number of replies: 0

Getting an error when using password expiry and reminder settings of LDAP in moodle. When debugged I find that pwdLastSet is present but maxPwdAge is null because of which this feature of ldap doesnot work.

The context is also returned correctly by the code.

What could be the reason for maxPwdAge returning null? (using MS AD at back-end)

Thankyou

Error:

Notice: Undefined offset: 0 in C:\xampp\htdocs\moodle32\auth\ldap\auth.php on line 2110

Warning: array_change_key_case() expects parameter 1 to be array, null given in C:\xampp\htdocs\moodle32\auth\ldap\auth.php on line 2110

Skip to main content

× This page should automatically redirect. If nothing is happening please use the continue link below.

(Continue)

Error output, so disabling automatic redirect.


Average of ratings: -