Hi,

when enabling the Drupal <-> LDAP attribute synchronization I stumbled accroos a little bug in LDAPInterface.php.

I was editing a user's profile who was lacking several LDAP attributes and ldap_mod_del was complaining.

Attached is a patch for LDAPInterface.php that calls ldap_mod_del() only when an old value exists.

CommentFileSizeAuthor
LDAPInterface.php_.patch591 bytesgurubert

Comments

miglius’s picture

Assigned: Unassigned » miglius
Status: Needs review » Fixed

Your code is committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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