At login of any user I always get:
warning: ldap_search(): Search: No such object in /opt/drupal-4.7.3/modules/ldap_integration/ldap_integration/LDAPInterface.php on line 124.
twice.
But - I can't see why - I mean - I'm logged in, my groups are correct, my user data is shown - everything seems to be working. I use the "Groups exist as LDAP entries where a multivalued attribute contains the members' CNs" and I've checked that all the entries there are correctly spelled. So I'm not sure _what_ object doesn't exist.
Comments
Comment #1
chrissearle commentedGot it. Think it should probably be a bug - not sure.
Group sync (Groups exist as LDAP entries where a multivalued attribute contains the members' CNs) will do two searches to see if login user exists (in these examples I've configured the "Attribute holding group members:" to uniqueMember since that is what I use).
For my user chris it will for each group search for
uniqueMember=chris
uniqueMember=chris,ou=people,dc=domain,dc=tld
Now - if - in the "Nodes containing groups (one per line):" on the ldapgroups page - at the end of the list there is a carriage return after the last row then the group sync code will look twice for this in the group with the base_dn of the empty string.
Empty lines in this textarea should probably be ignored
Comment #2
jtravis commentedI get the same error, but I currently am not using the groups at all. It's not even enabled. Also, when I made the change that was suggested in the bug report, the line number that the error is flagged on moves to line 125.
Comment #3
johnbarclay commentedClosing 4.7 issues to clean out issue queue.