We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e5c1f commit f49ded3Copy full SHA for f49ded3
docs/reference.rst
@@ -279,7 +279,7 @@ Default: ``None``
279
The field on the user model used to query the authenticating user in the
280
database. If unset, uses the value of ``USERNAME_FIELD`` of the model class.
281
When set, the value used to query is obtained through the
282
-:setting:`AUTH_LDAP_USER_ATTR_MAP`. For example, setting :setting:`AUTH_LDAP_USER_ATTR_MAP`
+:setting:`AUTH_LDAP_USER_ATTR_MAP`. For example, setting :setting:`AUTH_LDAP_USER_QUERY_FIELD`
283
to ``username`` and adding ``"username": "sAMAccountName",`` to :setting:`AUTH_LDAP_USER_ATTR_MAP`
284
will cause django to query local database using ``username`` column and LDAP using
285
``sAMAccountName`` attribute.
0 commit comments