- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 03:17 AM
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:-
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 08:13 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 07:18 AM
As part of my process of elimination I would now like not to import any users who do not have an email address.
Any thoughts please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 07:27 AM
In the User LDAP Transform Map Field Maps, do you have Colesce = true for u_samaccountname?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 07:30 AM
Yes I do Jeff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 07:42 AM
Hi Angus,
I haven't written a lot of LDAP Server conditions to be honest. But could you try adding this condition
(&(objectClass=person)(sn=*)(!(objectClass=computer)(!mail="")))
Thanks,
Mandar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2014 08:07 AM
Thanks for the input Mandar but it didn't work.