Article ID: 935834 - Last Review: May 18, 2011 - Revision: 5.1 How to enable LDAP signing in Windows Server 2008
On This PageRAPID PUBLISHINGRAPID PUBLISHING ARTICLES PROVIDE INFORMATION IN RESPONSE TO EMERGING OR UNIQUE TOPICS, AND MAY BE UPDATED AS NEW INFORMATION BECOMES AVAILABLE. INTRODUCTIONThe security of a directory server can be significantly improved by configuring the server to reject Simple Authentication and Security Layer (SASL) LDAP binds that do not request signing (integrity verification) or LDAP simple binds that are performed on a clear text (non-SSL/TLS-encrypted) connection. SASLs may include protocols such as Negotiate, Kerberos, NTLM, or Digest. Unsigned network traffic is susceptible to replay attacks in which an intruder intercepts the authentication attempt and the issuance of a ticket. The intruder can reuse the ticket to impersonate the legitimate user. Additionally, unsigned network traffic is susceptible to man-in-the-middle attacks in which an intruder captures packets between the client and the server, changes the packets, and then forwards them to the server. If this occurs on an LDAP server, an attacker can cause a server to make decisions that are based on forged requests from the LDAP client. This article describes how to configure your directory server to protect it from such attacks. MORE INFORMATIONDiscovering clients that do not use theRequire signing optionClients that rely on unsigned SASL (Negotiate, Kerberos, NTLM, or Digest) LDAP binds or LDAP simple binds over a non-SSL/TLS connection stop working after you make this configuration change. To help identify these clients, the directory server logs a summary event 2887 one time every 24 hours to indicate how many such binds occurred. We recommend that you configure these clients not to use such binds. After no such events are observed for an extended period, we recommend that you configure the server to reject such binds. If more detailed information is required to identify such clients, the directory server can be configured to provide more detailed logs. This additional logging will log an event 2889 when a client attempts an unsigned LDAP bind. The logging displays the IP address of the client and the identity that the client tried to use to authenticate. This additional logging can be enabled by setting the LDAP Interface Events diagnostic setting to 2 (Basic). For more information about how to change the diagnostic settings, visit the following Microsoft Web site: http://go.microsoft.com/?linkid=9645087 (http://go.microsoft.com/?linkid=9645087) If the directory server is configured to reject unsigned SASL LDAP binds or LDAP simple binds over a non-SSL/TLS connection, the directory server will log a summary event 2888 one time every 24hours, when such bind attempts occur. Configuring the Directory to require LDAP Server SigningUsing Group PolicySetting of the server LDAP signing requirement
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 823659
(http://support.microsoft.com/kb/823659/
)
Client, service, and program incompatibilities that may occur when you modify security settings and user rights assignments
Using Registry KeysTo have us change the registry keys for you, go to the "Fix it for me" section. If you prefer to change the registry keys yourself, go to the "Let me fix it myself" section.Fix it for meTo fix this problem automatically, click the Fix it button or link. Click Run in the File Download dialog box, and follow the steps in the Fix it wizard. Notes
Then, go to the "Did this fix the problem?" section. Let me fix it myselfImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
For Active Directory Lightweight Directory Services (AD LDS), the registry key is not available by default. Therefore, you must create a LDAPServerIntegrity registry entry of the REG_DWORD type under the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\instanceName\Parameters NoteInstanceName is the name of your AD LDS instance which you want to change.Verify Configuration Changes
You have successfully configured your directory server if you receive the following error message: Ldap_simple_bind_s() failed: Strong Authentication Required Did this fix the problem?
DISCLAIMERMICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE FOR ANY PURPOSE. THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED HEREIN AT ANY TIME. For more information on the terms of use, click on the link below: http://support.microsoft.com/tou/ (http://support.microsoft.com/tou/) Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations. APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top