In AD we have these two OUs:
在AD中我们有这两个OU:
- OU=Accounts - Standard User
- OU=Accounts - Restricted User
OU =帐户 - 标准用户
OU =帐户 - 受限用户
The Search base in the connection for our user profile import contains this:
我们的用户配置文件导入连接中的搜索库包含以下内容:
- OU=Accounts - Standard User,DC=in,DC=company,DC=com
OU =帐户 - 标准用户,DC = in,DC =公司,DC = com
The import works great for this single OU.
导入适用于此单个OU。
I tried making a second connection but SharePoint will not allow multiple connections to the same domain.
我尝试进行第二次连接,但SharePoint不允许多个连接到同一个域。
How do I configure the import/connection to pull from both OUs?
如何配置从两个OU中提取的导入/连接?
1 个解决方案
#1
You could move the search base up to the level above both OU's, then change your filter so that it only pulls User AD objects with certain fields set. For instance, this filter will get all user objects with both the first name and last name fields set to something:
您可以将搜索库移动到两个OU之上的级别,然后更改过滤器,使其仅拉取设置了某些字段的用户AD对象。例如,此过滤器将获取所有用户对象,其中名字和姓氏字段都设置为:
(&(objectCategory=Person)(objectClass=user)(givenName=*)(sn=*))
#1
You could move the search base up to the level above both OU's, then change your filter so that it only pulls User AD objects with certain fields set. For instance, this filter will get all user objects with both the first name and last name fields set to something:
您可以将搜索库移动到两个OU之上的级别,然后更改过滤器,使其仅拉取设置了某些字段的用户AD对象。例如,此过滤器将获取所有用户对象,其中名字和姓氏字段都设置为:
(&(objectCategory=Person)(objectClass=user)(givenName=*)(sn=*))