# KB - Rôles et services - ADDS

# KB-Active Directory - windows 2025 bind ldap(s)

<p class="callout info">Applicable à : windows 2025 active directory (avec niveau fonctionnel 2025)</p>

### <span style="text-decoration: underline;">Symptôme(s)</span>

Impossible de réussir un bind LDAP ou LDAPS sur les contrôleurs de domaines.

---

### <span style="text-decoration: underline;">Problème</span>

<span style="background-color: rgb(251,238,184);">  
</span>

Les nouvelles stratégies de sécurité par défaut sur les contrôleurs de domaines sont trop restrictives, empêchant le bind de se faire correctement.

---

### <span style="text-decoration: underline;">Solution</span>

<p class="callout danger">Prérequis : Avoir accès aux active directory, pourvoir modifier les Stratégies de groupes.</p>

Modifier la GPO "<span style="color: rgb(132,63,161);">***Default Domain Controllers Policy***</span>"/

Dans "<span style="color: rgb(132,63,161);">***Computer configuration / Policies / Windows Settings / Local policies / Security options***</span>"

Modifier les options suivantes comme ceci :

- Domain controller: LDAP server channel binding token requirements : "<span style="color: rgb(132,63,161);">***When supported***</span>"
- Domain controller: LDAP server signing requirements : "<span style="color: rgb(132,63,161);">***none***</span>"
- Domain controller: LDAP server signing requirements Enforcement : "<span style="color: rgb(132,63,161);">***Disabled***</span>"
- Network security: LDAP client encryption requirements: "<span style="color: rgb(132,63,161);">***Negotiate Sealing***</span>"
- Network security: LDAP client signing requirements: "<span style="color: rgb(132,63,161);">***Negotiate Signing***</span>"

Après redémarrage des DC, Cela devrait corriger le problème.

---

### <span style="text-decoration: underline;">Sources</span>

[Unable to connecto to LDAP (Windows Server 2025)](https://forum.opnsense.org/index.php?topic=45006.0)

[LDAP Authentication with Active Directory Windows Server 2025, bind fails | Netgate Forum](https://forum.netgate.com/topic/187453/ldap-authentication-with-active-directory-windows-server-2025-bind-fails/3)