LDAP Attributes in Fields added to User entity

Events happening in the community are now at Drupal community events on www.drupal.org.
johnbarclay's picture

I maintain the LDAP module for drupal 7. In the next version I was considering moving some of the data in $user->data array into fields attached to the the user entity. These fields would have the UI widget of "hidden".

This would make integration with feeds, migrate and other modules much easier. The data would be ldap cn, ldap dn and other ldap attributes.

From a security perspective, is there any advantage to $user->data or hidden fields on the user entity?

Security

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: