List Info

Thread: Adsi query requires impersonation *and* service account credentials?




Adsi query requires impersonation *and* service account credentials?
user name
2006-05-09 15:12:38
Thanks Shawn!

You're right that this was a problem too (apparently
that's only
appropriate to use when you specify not just a domain, but a
specific
domain controller in the LDAP string).  That was a
"clutching at straws"
line of code (just aping examples found on the web) that I
just forgot
to take out.

I took that out, and used a more specific LDAP string, and
am set.  

Thanks!

-Roy

-----------------------------------------
From:   Discussion of building .NET applications targeted
for the Web on
behalf of Shawn Wildermuth Sent:  Mon 5/8/2006 6:32 PM 
To:   DOTNET-WEBDISCUSS.DEVELOP.COM 
Cc:    
Subject:   Re: [DOTNET-WEB] Adsi query requires
impersonation *and*
service account credentials? 

AuthenticationType = ServerBind is your problem.  I don't
have my ADSI
stuff
with me, but changing that to a different type of
authentication (can't
remember which one) will allow it to only authenticate with
the provided
credentials.

Thanks,

Shawn Wildermuth
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )