LDAP Source - setting OU/DC

22 views
Skip to first unread message

Jeff Clark

unread,
Oct 27, 2020, 4:31:06 PM10/27/20
to COZYROC
I have an open ticket with Technical Support, but they don't have an answer yet, so thought I'd post here to see if anyone else has tried this.

I currently use T-SQL and a Linked Server with something like:
... OPENQUERY(SELECT <ADFields> FROM "LDAP://ou=<DesiredOU>,dc=<Company>" WHERE objectCategory="user" AND ...

I'd like to connect to our Active Directory and import Users from a specific Organizational Unit (OU) and Domain Component (DC).  However, I don't see anywhere to set that scope.

I've tried numerous  expressions in the Filter, but haven't been able to get anything to work like I need it.

Does anyone have any suggestions on how to set the OU and DC values?

Thanks!


Reply all
Reply to author
Forward
0 new messages