Duplicate Users in LDAP

amacqueen
Mega Guru

We've been having this issue for some time and I haven't been able to get round to checking until this week. The problem is we have multiple user records being created from our LDAP import.

 

For example see below:-

 

find_real_file.png

 

A record seems to be created with an email address and another without the email address.

 

Any initial thoughts? If it would help I'm happy to post our config.

 

Thanks for looking.

1 ACCEPTED SOLUTION

Hi Angus,




Found a similar discussion (not related to service now),




could you try below line of condition




(&(objectClass=person)(sn=*)(!(objectClass=computer))(mail=*))




Also, mail should be the field storing email in LDAP.




Here's the link where i found it


how to exclude Null or empty fields in a Ldifde export




Thanks,


Mandar


View solution in original post

12 REPLIES 12

Hi Angus,




Found a similar discussion (not related to service now),




could you try below line of condition




(&(objectClass=person)(sn=*)(!(objectClass=computer))(mail=*))




Also, mail should be the field storing email in LDAP.




Here's the link where i found it


how to exclude Null or empty fields in a Ldifde export




Thanks,


Mandar


Excellent stuff Mandar - looking very good


Glad that helped.. 🙂