Merge pull request #6810 from tamaszl/patch-1

Update 6-ldap.md - AUTH_LDAP_USER_DN_TEMPLATE to none for windows 2012+
This commit is contained in:
Jeremy Stretch 2021-07-27 16:12:36 -04:00 committed by GitHub
commit 6e79e5608e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ STARTTLS can be configured by setting `AUTH_LDAP_START_TLS = True` and using the
### User Authentication
!!! info
When using Windows Server 2012, `AUTH_LDAP_USER_DN_TEMPLATE` should be set to None.
When using Windows Server 2012+, `AUTH_LDAP_USER_DN_TEMPLATE` should be set to None.
```python
from django_auth_ldap.config import LDAPSearch