Skip to content

Commit

Permalink
Added note for escaping LDAP password in template.env (#84)
Browse files Browse the repository at this point in the history
If the LDAP password contains special characters that need escaping, they must be doubly escaped inside .env.

Added a reminder against the password field for that.
  • Loading branch information
C0d3rZ3r0 authored Jun 26, 2024
1 parent 5d641c7 commit 1fd8070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template.env
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ SYNCSERVERS_1_KEY=
# LDAP_SERVER="ldap://your_domain_controller"
# LDAP_STARTTLS=true
# LDAP_READER_USER="CN=service_account_name,OU=Users,DC=domain,DC=net"
# LDAP_READER_PASSWORD="password"
# LDAP_READER_PASSWORD="password" # Doubly escape necessary special characters inside the password. E.g. literal "pass\word" should be escaped as "pass\\\\word"
# LDAP_DN="OU=Users,DC=domain,DC=net"
# LDAP_SEARCH_FILTER=""
# LDAP_SEARCH_ATTRIBUTE="uid"
Expand Down

0 comments on commit 1fd8070

Please sign in to comment.