Deleting a user leaves repeating error nslcd messages
Migrated from: https://tracker.clearos.com/view.php?id=1752
Reported by: Nick Howitt
If you delete a user, from then on you get two repeating error messages in /var/log/messages:
Jun 5 20:31:39 server nslcd[27630]: [a026fa] ldap_result() failed: No such object
Jun 5 20:31:39 server nslcd[27630]: [a026fa] lookup of user cn=Nick Mail,ou=Users,ou=Accounts,dc=howitts,dc=co,dc=uk failed: No such object
This is for a user mail_nick. The message repeats at least once an hour.
The cause is that deleting a user from LDAP does not delete him from the groups he belongs to. The message only stops when the user is removed from all groups he belongs to.
It may be a question of using the slapo-refint overlay in LDAP.