Hello,

I've found that if a user already exists in both Drupal and LDAP, that user will not be assigned any roles. Even if the "associate user" option is checked.

I'm using triggers/Rules to run the smbldap-useradd command after an account has been created in Drupal (I have samba, LDAP and Drupal running on the same user base). This way, I can create users in Drupal, and have them created in Samba and LDAP automatically. Which works. However, ldap-integration module doesn't like that.

Any suggestions on how to solve this?

Regards,

Nadeem

Comments

johnbarclay’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Assigned: Unassigned » johnbarclay
cgmonroe’s picture

Status: Active » Fixed

Unless I don't understand the problem, I can't reproduce this on the latest -dev.

Tested by:

  • Deleted Drupal ldap user.
  • Created user new Drupal user this same name and different password than ldap
  • Drupal user was not in any roles
  • Server was set to mixed / associate
  • Logged in with ldap id and password
  • Account was associated
  • User was now in roles defined via ldapgroups.

Marking as fixed by latest dev. Re-open if needed and please include details on how to replicate if possible.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.