Talk About Network

Google





Software > ADSI General > Re: ComExceptio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 5278 of 5437
Post > Topic >>

Re: ComException (0x80072020): An Operations error occurred

by "Joe Kaplan" <joseph.e.kaplan@[EMAIL PROTECTED] > May 21, 2008 at 09:47 AM

This happens because you are binding anonymously.  Windows Server 2003 
requires authenticated binds to perform operations by default while
Windows 
2000 does not and will allow anonymous searches (although with limited 
results).

My guess is that you probably thought your app was binding to the
directory 
before but it was not.  It also could be the case that you had Kerberos 
delegation enabled for the old DC but not for the new DC, so you
application 
is unable to delegate.  When you have a web app that attempts to bind to
the 
directory with the credentials of the authenticated user instead of a
fixed 
service account (essentially, you have impersonation enabled), you must
have 
Kerberos delegation enabled.

Joe K.
-- 
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"WillG" <WillG@[EMAIL PROTECTED]
> wrote in message 
news:7E5890C2-BD6A-41FB-A859-766D9B4C391D@[EMAIL PROTECTED]
> We have just upgraded to Windows 2003 R2 Sp2 AD from Windows 2000 SP4
AD.
>
> One of our asp application that used to be able to bind using LDAP to
one 
> of
> our Domain Controllers presented a ComException 0x80072020 error using
the
> bind string of "LDAP://newserver.domain.com" if I change the xml web 
> config
> file back to use a Windows 2000 server in the bind action the
application
> works fine.
>
> I have removed LDAP signing reuqirements etc but I would like to know
how 
> to
> resolve the bind problem with Windows 2003 R2 domain contrllers before I
> upgrade the remaining Windows 2000 servers.
>
> As a sidenote - the application uses the end users credentials and not
> anonymous.
 




 2 Posts in Topic:
ComException (0x80072020): An Operations error occurred
=?Utf-8?B?V2lsbEc=?= <  2008-05-20 23:46:00 
Re: ComException (0x80072020): An Operations error occurred
"Joe Kaplan" &l  2008-05-21 09:47:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 20:24:07 PST 2009.