DS-3014 LDAP authentication not working

This commit is contained in:
Ivan Masár
2016-02-01 20:05:09 +01:00
parent a700357c3a
commit fb0e6b879d

View File

@@ -47,7 +47,8 @@ authentication-ldap.autoregister = true
# part may or may not be required depending on the LDAP server setup, # part may or may not be required depending on the LDAP server setup,
# but make sure to include the slash after domain name. # but make sure to include the slash after domain name.
# A server may also require the ldaps:// protocol. # A server may also require the ldaps:// protocol.
#authentication-ldap.provider_url = ldap://ldap.myu.edu/o=myu.edu # Note: Prepend commas with a backslash to escape them
#authentication-ldap.provider_url = ldap://ldap.myu.edu/ou=faculties\,o=myu.edu
# This is the unique identifier field in the LDAP directory # This is the unique identifier field in the LDAP directory
# where the username is stored. # where the username is stored.
@@ -55,9 +56,10 @@ authentication-ldap.autoregister = true
# This is the object context used when authenticating the # This is the object context used when authenticating the
# user. It is appended to the id_field and username. # user. It is appended to the id_field and username.
# For example uid=username,ou=people,o=myu.edu. This must match # For example uid=username,ou=people,ou=faculties,o=myu.edu. This must match
# the LDAP server configuration. # the LDAP server configuration.
#authentication-ldap.object_context = ou=people,o=myu.edu # Note: Prepend commas with a backslash to escape them
#authentication-ldap.object_context = ou=students\,ou=faculties\,o=myu.edu
# This is the search context used when looking up a user's # This is the search context used when looking up a user's
# LDAP object to retrieve their data for autoregistering. # LDAP object to retrieve their data for autoregistering.
@@ -70,7 +72,8 @@ authentication-ldap.autoregister = true
# search_context is the same as the object_context # search_context is the same as the object_context
# parameter. But again this depends on each individual LDAP server # parameter. But again this depends on each individual LDAP server
# configuration. # configuration.
#authentication-ldap.search_context = ou=people # Note: Prepend commas with a backslash to escape them
#authentication-ldap.search_context = ou=people\,ou=faculties
# This is the LDAP object field where the user's email address # This is the LDAP object field where the user's email address
# is stored. "mail" is the default and the most common for # is stored. "mail" is the default and the most common for
@@ -133,7 +136,8 @@ authentication-ldap.autoregister = true
# The full DN and password of a user allowed to connect to the LDAP server # The full DN and password of a user allowed to connect to the LDAP server
# and search for the DN of the user trying to log in. # and search for the DN of the user trying to log in.
#authentication-ldap.search.user = cn=admin,ou=people,o=myu.edu # Note: Prepend commas with a backslash to escape them
#authentication-ldap.search.user = cn=admin\,ou=faculties\,ou=people\,o=myu.edu
#authentication-ldap.search.password = password #authentication-ldap.search.password = password
# If your LDAP server does not hold an email address for a user, you can use # If your LDAP server does not hold an email address for a user, you can use