Quantcast
Viewing all articles
Browse latest Browse all 26374

Configure people picker to list users from a particular OU in a one way trust setup

Hi All

I have two domains A & B. There is one way trust setup between them, A trusts B. In domain A we have the Sharepoint 2007 farm.

Requirement: My requirement is to configure peoplepicker for a webapp so that the site collection lists only the users from a security group in an OU created in domain B.

I have worked out the ldap query which does the job for me:

ldifde -d "dc=B,dc=com" -f c:\alluserfromsingleOUinB.txt -r "(&(objectCategory=Person)(objectClass=User)(memberOf=CN=SecurityGP,OU=OU_Name,DC=B,DC=com))" -b administrator B password -s B-DC

Problem: Since the above query needs the credentials of the domain B to get the users from B, i am not sure how to modify my peoplepicker property.

Tried following:

stsadm -o setproperty -url http://moss2007 -pn peoplepicker-searchadcustomfilter -pv "(&(objectCategory=Person)(objectClass=User)(memberOf=CN=SecurityGP,OU=OU_Name,DC=B,DC=com))" -b administrator B password -s B-DC

stsadm -o setproperty -url http://moss2007 -pn peoplepicker-searchadcustomfilter -pv "(&(objectCategory=Person)(objectClass=User)(memberOf=CN=SecurityGP,OU=OU_Name,DC=B,DC=com) -b administrator B password -s B-DC)"

stsadm -o setproperty -url http://moss2007 -pn peoplepicker-searchadcustomfilter -pv "(&(objectCategory=Person)(objectClass=User)(memberOf=CN=SecurityGP,OU=OU_Name,DC=B,DC=com)) -b administrator B password -s B-DC"

Similarly i tried the same properties with peoplepicker-searchadcustomquery.

Can any one suggest me how can use this or any other filter to set up the people picker.


Regards Ram



Viewing all articles
Browse latest Browse all 26374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>