Hello,

When installing LDAP User module, some (hidden) fields are created on the user entity/bundle, such as:

  • ldap_user_puid_sid
  • ldap_user_puid
  • ldap_user_puid_property
  • ldap_user_current_dn
  • ...

Which ones are used and for what?
Should I fill in some fields myself, e.g. through the mapping? either in LDAP User at admin/config/people/ldap/user or in LDAP Feeds?

And then what about authmap table which is supposed - in my understanding - to make the relation between the external (Active Directory) user database and Drupal user database?

If someone could enlighten me, it would be greatly appreciated! :)

Thanks!

Comments

grahl’s picture

Status: Active » Fixed

Hi

You do not need to do anything with these fields, once your LDAP module is set up correctly (server and user configuration) these fields will be used as appropriate. The same goes for the authmap table.

Just for the curious, here is what they do:

  • ldap_user_puid_sid - The server ID of the persistent user ID
  • ldap_user_puid - The persistent user ID
  • ldap_user_puid_property - The property containing the persistent user ID
  • ldap_user_current_dn - Often the same as the puid, but can change.
  • authmap - The mapping of an external attribute (here LDAP username normally) to the relevant Drupal user for Drupal session handling et al.

Status: Fixed » Closed (fixed)

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