Enabling LDAP Password Expiry notification gives warning Error when login

Enabling LDAP Password Expiry notification gives warning Error when login

by Nadirshah Ferozepurwalla -
Number of replies: 4
Settings

Expiration: LDAP

Expiration warning: 10

Note: message appears when user password is expired, but warning messages are not working

Any help will be appreciated


Error when login 

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: -
In reply to Nadirshah Ferozepurwalla

Re: Enabling LDAP Password Expiry notification gives warning Error when login

by John Okely -

That sounds like a bug. You can report it at https://tracker.moodle.org/

But once the bug is fixed, it seems like something is wrong with the way your LDAP server is set up with user account control.

In reply to John Okely

Re: Enabling LDAP Password Expiry notification gives warning Error when login

by Nadirshah Ferozepurwalla -

thanks 

please could you explain what is wrong with the setup of ldap? and how to correct it

In reply to Nadirshah Ferozepurwalla

Re: Enabling LDAP Password Expiry notification gives warning Error when login

by John Okely -

Hopefully I can help.

It looks like you've configured your ldap to use Active Directory. Is that correct?

In reply to John Okely

Re: Enabling LDAP Password Expiry notification gives warning Error when login

by Nadirshah Ferozepurwalla -

yes, 

ip:port

Details

User type: MS Active Directory

Contexts: dc=(organization),dc=edu

User attribute: samaccountname

Object class: (&(objectclass=user)(!(objectclass=computer)))

Also please check this discussion, if any one can give advice why are usernames repeated? Is there something wrong in the context

Duplicate usernames problem ldap

what can i change here to make it more accurate?