P
Pradnyesh Rane
Hi All,
We have a multithreaded application that may make simultaneous binds
[ldap_simple_bind] using the same ldap [not ADSI] connection to
authenticate users. We recently observed the following error in our
logs.
LdapErr: DSID-0C060454, comment: Only one outstanding bind per
connection allowed, data 0, v893
Has anybody seen this error before?
Is this documented somewhere? Is there a way to tune the number of
outstanding binds per connection.
I found the following article in the MS knowledge base that seems to
indicate that multiple binds on the same connection are allowed and
there was a bug fixed in that area.
http://support.microsoft.com/kb/289644/EN-US/
However I also found the following article in MSDN that states that
"Most LDAP calls are thread safe even when sharing the same connection
handle. The one exception is the LDAP bind. Do not attempt LDAP binds
simultaneously from two threads using the same connection."
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnactdir/html/BuildingADApps.asp
Can someone please clarify.
Thanks & Regards,
Pradnyesh Rane
We have a multithreaded application that may make simultaneous binds
[ldap_simple_bind] using the same ldap [not ADSI] connection to
authenticate users. We recently observed the following error in our
logs.
LdapErr: DSID-0C060454, comment: Only one outstanding bind per
connection allowed, data 0, v893
Has anybody seen this error before?
Is this documented somewhere? Is there a way to tune the number of
outstanding binds per connection.
I found the following article in the MS knowledge base that seems to
indicate that multiple binds on the same connection are allowed and
there was a bug fixed in that area.
http://support.microsoft.com/kb/289644/EN-US/
However I also found the following article in MSDN that states that
"Most LDAP calls are thread safe even when sharing the same connection
handle. The one exception is the LDAP bind. Do not attempt LDAP binds
simultaneously from two threads using the same connection."
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnactdir/html/BuildingADApps.asp
Can someone please clarify.
Thanks & Regards,
Pradnyesh Rane