config.json
file:
cn
it might be better to use uid
.
cn
is johndoe and the mail
field is set to johndoe@contoso.com. If your organization wants users to authenticate using their username (cn
) you can set the LDAP_USER_BY_NAME
setting to (cn={0})
, but if users should authenticate using their email address you should set it to (mail={0})
.