Skip to content
Snippets Groups Projects
Verified Commit b8a75ca4 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: ldap.env docs

parent 183a310f
Branches
No related tags found
1 merge request!60FIX: ldap_authentication.sh
Pipeline #22160 passed
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
# REQUIRED - Set the ldap server here, # REQUIRED - Set the ldap server here,
export LDAPURI="ldap[s]://<ldap-service>[:<port>]/" export LDAPURI="ldap[s]://<ldap-service>[:<port>]/"
# REQUIRED - Set the base domain here. This is used to generate a fully qualified # REQUIRED - Set the base domain here. This is used to generate a fully
# user name, a Distinguished Name (DN), with the BIND_DN_PATTERN: # qualified user name, a Distinguished Name (DN), with the BIND_DN_PATTERN:
export USER_BASE="dc=example,dc=org" # for actual LDAP servers export USER_BASE="dc=example,dc=org" # for actual LDAP servers
#export USER_BASE="example.org" # for MS Active Directory #export USER_BASE="example.org" # for MS Active Directory
...@@ -22,8 +22,10 @@ export USER_BASE="dc=example,dc=org" # for actual LDAP servers ...@@ -22,8 +22,10 @@ export USER_BASE="dc=example,dc=org" # for actual LDAP servers
# Directory chooses to return "u:<domain>\<user_name>" instead. Be sure to # Directory chooses to return "u:<domain>\<user_name>" instead. Be sure to
# surround it with single quotation marks "'" because the variables inside are # surround it with single quotation marks "'" because the variables inside are
# to be expanded by the script. Defaults to the first. # to be expanded by the script. Defaults to the first.
#export WHO_AM_I_PATTERN='dn:cn=${USER_NAME},${USER_BASE}' # for actual LDAP servers. #export WHO_AM_I_PATTERN='dn:cn=${USER_NAME},${USER_BASE}' # for actual LDAP
#export WHO_AM_I_PATTERN='u:<domain>\${USER_NAME}' # for MS Active Directory # servers.
#export WHO_AM_I_PATTERN='u:<domain>\\${USER_NAME}' # for MS Active Directory.
# Mind the double back-slash.
# TLS SETTINGS # TLS SETTINGS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment