ldap: default use_controls to False (#51239)

This commit is contained in:
Benjamin Dauvergne 2021-05-18 18:10:14 +02:00
parent 1f6378256e
commit ff9e90ce58
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ class LDAPBackend(object):
# mapping from LDAP attributes to User attributes
'user_attributes': [],
# https://www.python-ldap.org/en/python-ldap-3.3.0/reference/ldap.html#ldap-controls
'use_controls': True,
'use_controls': False,
'ppolicy_dn': '',
}
_REQUIRED = ('url', 'basedn')