Thread:Extension talk:LDAP Authentication/Failed to modify the user's password

I had set up LDAP Authentication to change the password and was working properly, meaning I was able to change user password. But now added samba.schema to openldap and enabled smbk5pwd overlay. I can change the password with ldappasswd and client machines

LDAP Authentication shows "There was either an authentication database error or you are not allowed to update your external account." on the page and logs

2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering allowPasswordChange 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering authenticate for username user 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering Connect 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using TLS or not using encryption. 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using non-standard port: 389 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using servers: ldap://88.88.88.75:389 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using TLS 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f PHP's LDAP connect method returned true (note, this does not imply it connected to the server). 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getSearchString 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getUserDN 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Doing a proxy bind 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Created a regular filter: (uid=user) 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getBaseDN 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f basedn is ou=people,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using base: ou=people,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Setting the LDAPUsername based on fetched wgLDAPSearchAttributes: user 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f userdn is: uid=user,ou=Technical,ou=people,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Binding as the user 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Bound successfully 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getGroups 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Retrieving LDAP group membership 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using memberOf 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Got the following groups: cn=bug,ou=groups,dc=my-domain,dc=com::cn=wiki,ou=wiki groups,ou=groups,dc=my-domain,dc=com::cn=wiki-admin,ou=wiki groups,ou=groups,dc=my-domain,dc=com::cn=vpn,ou=groups,dc=my-domain,dc=com::cn=linux,ou=groups,dc=my-domain,dc=com::cn=nagios,ou=groups,dc=my-domain,dc=com::cn=administrators,ou=groups,dc=my-domain,dc=com::cn=wiki-editors,ou=wiki groups,ou=groups,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering checkGroups 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Checking for (new style) group membership 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Required groups: cn=wiki,ou=wiki groups,ou=groups,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Checking against: cn=bug,ou=groups,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Checking against: cn=wiki,ou=wiki groups,ou=groups,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Found user in a group. 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getPreferences 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Retrieving preferences 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Retrieved email (user@my-domain.com) using attribute (mail) 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Retrieved realname (user) using attribute (cn) 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Retrieved nickname (user) using attribute (uid) 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Authentication passed 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering allowPasswordChange 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering setPassword 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getPasswordHash 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering Connect 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using TLS or not using encryption. 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using non-standard port: 389 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using servers: ldap://88.88.88.75:389 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using TLS 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f PHP's LDAP connect method returned true (note, this does not imply it connected to the server). 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getSearchString 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getUserDN 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Doing a proxy bind 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Created a regular filter: (uid=user) 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getBaseDN 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f basedn is ou=people,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Using base: ou=people,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Setting the LDAPUsername based on fetched wgLDAPSearchAttributes: user 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f userdn is: uid=user,ou=Technical,ou=people,dc=my-domain,dc=com 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Binding as the writerDN 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Entering getDomain 2013-08-01 14:57:17 88.88.88.75 wiki-csw_: 2.0f Failed to modify the user's password