Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Multi-tenancy and People Picker in split domains

$
0
0

 

Hi there,

We have just setup a multi-tenancy SP 2010 environment, where the User domain is separate from the Resource (Server) domain.

 

I have setup a hostname based site collection for a test company and everything seems to be working correctly, including the User Profile Application correctly retrieving their profiles from the User domain (when you specify the OU of the company with the Set-SPSiteSubscriptionConfig cmdlet + in conjunction have a Sync Connection setup to retrieve the accounts from the other domain)

 

But the People picker just isn't playing ball.

I am running the command:

stsadm -o setproperty -url "http://app01" -pn "peoplepicker-searchadforests" -pv "domain:domainname.co.uk,DOMAIN\ADUserAccess,xxxxx"

as I thought maybe this was required in addition. But then the result of the Get command to check is that the property doesn't exist:

stsadm.exe -o getproperty -url http://app01 -pn "peoplepicker-searchadforests"

<Property Exist="No" />

 

In the ULS, this error occurs:

Error in searching user 'a' : System.DirectoryServices.DirectoryServicesCOMException (0x8007202B): A referral was returned from the server.

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_AdsObject()

at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)

at Microsoft.SharePoint.WebControls.PeopleEditor.SearchFromGC(SPActiveDirectoryDomain domain, String strFilter, String[] rgstrProp, Int32 nTimeout, Int32 nSizeLimit, SPUserCollection spUsers, ArrayList& rgResults)

at Microsoft.SharePoint.Utilities.SPUserUtility.SearchAgainstAD(String input, SPActiveDirectoryDomain domainController, SPPrincipalType scopes, SPUserCollection usersContainer, Int32 maxCount, String customQuery, String customFilter, TimeSpan searchTimeout, Boolean& reachMaxCount)

at Microsoft.SharePoint.Utilities.SPActiveDirectoryPrincipalResolver.SearchPrincipals(String input, SPPrincipalType scopes, SPPrincipalSource sources, SPUserCollection usersContainer, Int32 maxCount, Boolean& reachMaxCount)

at Microsoft.SharePoint.Utilities.SPUtility.SearchPrincipalFromResolvers(List`1 resolvers, String input, SPPrincipalType scopes, SPPrincipalSource sources, SPUserCollection usersContainer, Int32 maxCount, Boolean& reachMaxCount, Dictionary`2 usersDict).

 

Thanks

Gavin

Any ideas!?

Viewing all articles
Browse latest Browse all 17574

Trending Articles



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