Hi,

Thanks a lot for this module.
For the moment, I've tested mapping and it works; very very good work !!! Thanks

I've tested change password in drupal and password was changed in ldap; Good !!!

But another test: ask a new password.
So I've tested it, I received an email and when I change password, I've this error:
"warning: ldap_modify() [function.ldap-modify]: Modify: Strong(er) authentication required in /var/www/drupal/modules/ldap_integration/ldap_integration/LDAPInterface.php on line 219."

What is the problem please ?

Thank you again for your very good work !!
Matt

Comments

kreaper’s picture

It is the ldap server that is crying. Ensure that you are using a binddn and bindpw in the ldapdata module. Your ldap server may also require TLS support ... please check that.

scafmac’s picture

This is confirmed for 4.7, but not head yet...

You can use the Request new password functionality if:

  • You are using ldapdata.module
  • You set a DN that has permission to change users' passwords in the DN for reading & writing attributes on the ldapdata.module settings page

So do you have a dn, with the appropriate permissions, set in the ldapdata.module settings page?

Binerf-1’s picture

Sorry TLS for my ldap server.

I added an admin DN to edit and modify ldap users entries but it's not OK.
No error message left but password isn't changed in ldap and in drupal db.

kreaper’s picture

Assigned: Unassigned » kreaper

There is a bug right now that scafmac found with ldapdata $ldap->connect piece that could be playing into your issue as well.

However, I don't quite understand your comment

Sorry TLS for my ldap server.

Are you running TLS ?

Bèr Kessels’s picture

Title: Ldapdata module » ask a new password with Ldapdata module results in error from ldap server.

I am having a similar issue, subscribing. I also changed the title to a more descriptive one.

kreaper’s picture

Component: Miscellaneous » Code

heads up

tomorrow I will be making more changes to the HEAD to resolve a hefty bug with the global $ldap object. hopefully that should take care of these issues.

kreaper’s picture

Status: Active » Fixed
Binerf-1’s picture

I'm sorry but I don't understand where to indicate binddn and bindpassword in Drupal configuration...

kreaper’s picture

Status: Fixed » Postponed (maintainer needs more info)

Its in the Advanced configuration .

Binerf-1’s picture

OK but for indicate password, where is it please ?

kreaper’s picture

Status: Postponed (maintainer needs more info) » Fixed
  • go to admin/settings/ldapauth
  • Edit an ldap configuration
  • At the bottom of the page, expand the array "Advanced Configuration"
  • Enter the BINDDN and BINDPW. If a password is already there, then you will get a check box to "clear current password". You will need to clear the current password to enter a new one

Note: this password is different from the BINDDN and BINDPW for other ldapXXX modules.

kreaper

Anonymous’s picture

Status: Fixed » Closed (fixed)