I am creating an ASP.Net App using VB to display a list
of users/contacts in my Staff Distribution group.
All accounts/groups are domain based and all computers
used in testting are WinXP SP1 and in the domain, my
account is a domain admin account.
My basic search syntax is:
Dim RootEntry As New DirectoryEntry("LDAP://......")
Dim Searcher As New DirectorySearcher(RootEntry,
"(&(objectcategory=*)(memberof=...))")
I then iterate through the results.
When I run the web page on the local system i get the
correct results (appx 2 Users and 80 Contacts)
(http://pc1/webpage.aspx)
When I run the web page from a remote computer i get only
the users, no contacts (appx 2 users and 0 contacts)
(http://pc1/webpage.aspx)
I have impersonate to true and athen to windows. I
checked the
system.Security.Principal.WindowsIdentity.GetCurre nt.Name
for both loads of the web page and they come up as the
same.
Could someone please shed some light on this...It's
driving me looney....
Thank you
-Andrew Pierro