Closed (works as designed)
Project:
LDAP integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Apr 2009 at 01:30 UTC
Updated:
5 May 2009 at 18:57 UTC
When I delete an LDAP-associated account, the LDAP module binds to the directory and issues an LDAP searchRequest on the DN of the account being deleted.
When an account is deleted, seems like there should be no reason for any LDAP queries. In addition to probably being unnecessary, this may cause trouble if I delete an account that no longer corresponds to anything in the directory.
Comments
Comment #1
miglius commentedDo you use ldap_provisioning module along with the ldap_integration?
If you use ldap_provisioning module, it searches the LDAP for the valid LDAP user entry before deletion from LDAP upon drupal user deletion.
Comment #2
aren cambre commentedNope. Only have ldap_integration.
Comment #3
miglius commentedDo you have ldapdata enabled? ldapdata queries LDAP server upon rendering the user edit form to make sure the data is in sync, however, I don't see a LDAP search request on the actual user deletion.
Comment #4
aren cambre commentedAha, it's set to "Every time user object loaded in Drupal. (May cause high LDAP traffic.)" for some reason. Maybe that was it?
Marking as "by design."
Comment #5
aren cambre commentedConfirmed with Wireshark that the above setting was the problem.