Unable to Authenticate other users on the domain #8
-
I'm able to bind to my LDAP server but no authentication of other users are happening on the domain. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello! I'm not exactly sure where your problem is. Does the error raised by the Authentication Backend or the LDAP Sync Middleware? (you should see it in the exception's stack trace). It seems like the LDAP entry comes without the To make sure that your code asks for the LDAPSettings(
PRELOAD_DEFINITIONS=(
("user", ("sAMAccountName",)),
"group"
),
) To check whether the servers sends the attribute, you can install Can you please send your |
Beta Was this translation helpful? Give feedback.
Hello!
I'm not exactly sure where your problem is. Does the error raised by the Authentication Backend or the LDAP Sync Middleware? (you should see it in the exception's stack trace).
It seems like the LDAP entry comes without the
sAMAccountName
attribute, it could happen either by the client (this module) not asking for it, or the server not having such attribute.To make sure that your code asks for the
sAMAccountName
attribute, make sure that yourPRELOADED_DEFINITIONS
in your LDAP Settings (WAUTH_DOMAINS
) for theuser
object class contains it. It should look like that (the default value):