LDAP Transform: Division Field vs. Department field in Active Directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 10:41 AM
Good afternoon Community!
I've got a question regarding LDAP Transform maps. We have Windows servers 2008, 2012 and 2014. I'm being advised by our admins here that the division field is no longer available in the 2012 version(we are not sure if the division field is available in the 2014 version).
Is there a way to set up the LDAP transform to recognize both "division" and "department", as we have machines running multiple versions?
Thanks,
Heather
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2017 07:48 AM
You'll have to use a Field Map script to set the field:
Something like this:
answer = (function transformEntry(source) {
if (!source.u_division.nil()) {
return "source.u_division";
}
else if (!source.u_department.nil()) {
return "source.u_departmebnt";
}
//return ""; // return the value to be put into the target field
})(source);