How to Enable Ldap Signing in Windows Server 2012

Download PC Repair Tool to quickly find & fix Windows errors automatically

LDAP signing is an authentication method in Windows Server that can improve the security of a directory server. Once enabled, it will reject any request that doesn't ask for signing or if the request is using non-SSL/TLS-encrypted. In this post, we will share how you can enable LDAP signing in Windows Server and client machines. LDAP stands forLightweight Directory Access Protocol (LDAP).

How to enable LDAP signing in Windows computers

To make sure that the attacker doesn't use a forged LDAP client to change server configuration and data, it is essential to enabling LDAP signing.  It is equally important to enable it on the client machines.

  1. Set the server LDAP signing requirement
  2. Set the client LDAP signing requirement by using Local computer policy
  3. Set the client LDAP signing requirement by using the Domain Group Policy Object
  4. Set the client LDAP signing requirement by using Registry keys
  5. How to verify configuration changes
  6. How to find clients that do not use the "Require signing" option

The last section helps you to figure out clients that do not have Require signing enabled on the computer. It is a useful tool for IT admins to isolate those computers, and enable the security settings on the computers.

1] Set the server LDAP signing requirement

How to enable LDAP signing in Windows Server & Client Machines

  1. Open Microsoft Management Console (mmc.exe)
  2. Select File > Add/Remove Snap-in > select Group Policy Object Editor, and then select Add.
  3. It will open the Group Policy Wizard. Click on the Browse button, and selectDefault Domain Policy instead of Local Computer
  4. Click on the OK button, and then on the Finish button, and close it.
  5. SelectDefault Domain Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies, and then select Security Options.
  6. Right-clickDomain controller: LDAP server signing requirements, and then select Properties.
  7. In the Domain controller: LDAP server signing requirements Properties dialog box, enable Define this policy setting, selectRequire signing in the Define this policy setting list, and then select OK.
  8. Recheck the settings and apply them.

2] Set the client LDAP signing requirement by using local computer policy

How to enable LDAP signing in Windows Server & Client Machines

  1. Open Run prompt, and type gpedit.msc, and press the Enter key.
  2. In the group policy editor, navigate to Local Computer Policy > Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies, and then selectSecurity Options.
  3. Right-click on Network security: LDAP client signing requirements, and then select Properties.
  4. In the Network security: LDAP client signing requirements Properties dialog box, selectRequire signing in the list and then choose OK.
  5. Confirm changes and apply them.

3] Set the client LDAP signing requirement by using a domain Group Policy Object

  1. Open Microsoft Management Console (mmc.exe)
  2. SelectFile >Add/Remove Snap-in > selectGroup Policy Object Editor, and then selectAdd.
  3. It will open the Group Policy Wizard. Click on the Browse button, and selectDefault Domain Policy instead of Local Computer
  4. Click on the OK button, and then on the Finish button, and close it.
  5. SelectDefault Domain Policy >Computer Configuration >Windows Settings >Security Settings >Local Policies, and then selectSecurity Options.
  6. In theNetwork security: LDAP client signing requirements Propertiesdialog box, selectRequire signingin the list and then chooseOK.
  7. Confirm changes and apply the settings.

4] Set the client LDAP signing requirement by using registry keys

The first and foremost thing to do is take a backup of your registry

  • Open Registry Editor
  • Navigate to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ <InstanceName> \Parameters
  • Right-click on the right pane, and create a new DWORD with name LDAPServerIntegrity
  • Leave it to its default value.

<InstanceName>: Name of the AD LDS instance that you want to change.

5] How to verify if configuration changes now require sign-in

To make sure the security policy is working here is how to check its integrity.

  1. Sign in to a computer that has the AD DS Admin Tools installed.
  2. Open Run prompt, and type ldp.exe, and press the Enter key. It is a UI used for navigating through the Active Directory namespace
  3. Select Connection > Connect.
  4. In Server and Port, type the server name and the non-SSL/TLS port of your directory server, and then select OK.
  5. After a connection is established, select Connection > Bind.
  6. Under Bind type, select Simple bind.
  7. Type the user name and password, and then select OK.

If you receive an error message saying Ldap_simple_bind_s() failed: Strong Authentication Required, then you have successfully configured your directory server.

6] How to find clients that do not use the "Require signing" option

Every time a client machine connects to the server using an insecure connection protocol, it generates Event ID 2889.  The log entry will also contain the IP addresses of the clients. You will need to enable this by setting the 16 LDAP Interface Events diagnostic setting to2 (Basic). Learn how to configure AD and LDS diagnostic event logging here at Microsoft.

LDAP Signing is crucial, and I hope the was able to help you clearly understand how you can enable LDAP signing in Windows Server, and on the client machines.

How to enable LDAP signing in Windows Server & Client Machines

Ezoic

Ashish is a veteran Windows, and Xbox user who excels in writing tips, tricks, and features on it to improve your day to day experience with your devices.

How to Enable Ldap Signing in Windows Server 2012

Source: https://www.thewindowsclub.com/how-to-enable-ldap-signing-in-windows

0 Response to "How to Enable Ldap Signing in Windows Server 2012"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel