ADSI Does a Simple Bind When You Specify ADS_USE_SSL (321315)
The information in this article applies to:
- Microsoft Active Directory Services Interface, Microsoft Active Directory Client
- Microsoft Active Directory Services Interface, System Component
This article was previously published under Q321315 SUMMARY
Active Directory Services Interface (ADSI) uses a simple bind when it specifies the ADS_USE_SSL flag during a bind to an object. A simple bind works by sending the user name and password over the connection. This is not a good idea on an unencrypted connection, because the credentials can be easily sniffed. On an SSL connection, SSL encryption protects the password. When a simple bind occurs, passing in NULL for the user name/password means that the credentials with which to bind are the anonymous user.
There is an important semantic difference between simple binds and secure/SSPI binds, such as Kerberos or NTLM. In NTLM, passing in NULL for the user name/password means "authenticate with the default credentials (the user who is running the program)". With a simple bind, it means "authenticate as the anonymous user".
Modification Type: | Major | Last Reviewed: | 2/12/2004 |
---|
Keywords: | kbDSWADSI2003Swept kbinfo KB321315 kbAudDeveloper |
---|
|