Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sharelatex-docker-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tuc-latex
sharelatex-docker-image
Commits
aaf8c833
Commit
aaf8c833
authored
Dec 09, 2016
by
Shane Kilkelly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ldap settings
parent
3093e93d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
settings.coffee
settings.coffee
+6
-6
No files found.
settings.coffee
View file @
aaf8c833
...
...
@@ -452,6 +452,11 @@ if process.env["SHARELATEX_LDAP_HOST"]
if
process
.
env
[
"SHARELATEX_LDAP_URL"
]
settings
.
externalAuth
=
true
settings
.
ldap
=
emailAtt
:
process
.
env
[
"SHARELATEX_LDAP_EMAIL_ATT"
]
nameAtt
:
process
.
env
[
"SHARELATEX_LDAP_NAME_ATT"
]
lastNameAtt
:
process
.
env
[
"SHARELATEX_LDAP_LAST_NAME_ATT"
]
updateUserDetailsOnLogin
:
process
.
env
[
"SHARELATEX_LDAP_UPDATE_USER_DETAILS_ON_LOGIN"
]
==
'true'
placeholder
:
process
.
env
[
"SHARELATEX_LDAP_PLACEHOLDER"
]
server
:
url
:
process
.
env
[
"SHARELATEX_LDAP_URL"
]
bindDn
:
process
.
env
[
"SHARELATEX_LDAP_BIND_DN"
]
...
...
@@ -472,7 +477,7 @@ if process.env["SHARELATEX_LDAP_URL"]
groupDnProperty
:
process
.
env
[
"SHARELATEX_LDAP_GROUP_DN_PROPERTY"
]
groupSearchBase
:
process
.
env
[
"SHARELATEX_LDAP_GROUP_SEARCH_BASE"
]
groupSearchScope
:
process
.
env
[
"SHARELATEX_LDAP_GROUP_SEARCH_SCOPE"
]
groupSearchFilter
:
process
.
env
[
"SHARELATEX_LDAP_GROUP_SEARCH_FILTER"
]
#
groupSearchFilter
:
process
.
env
[
"SHARELATEX_LDAP_GROUP_SEARCH_FILTER"
]
groupSearchAttributes
:
(
if
_ldap_group_search_attribs
=
process
.
env
[
"SHARELATEX_LDAP_GROUP_SEARCH_ATTRIBUTES"
]
try
...
...
@@ -501,11 +506,6 @@ if process.env["SHARELATEX_LDAP_URL"]
else
undefined
)
emailAtt
:
process
.
env
[
"SHARELATEX_LDAP_"
]
nameAtt
:
process
.
env
[
"SHARELATEX_LDAP_"
]
lastNameAtt
:
process
.
env
[
"SHARELATEX_LDAP_"
]
updateUserDetailsOnLogin
:
process
.
env
[
"SHARELATEX_LDAP_UPDATE_USER_DETAILS_ON_LOGIN"
]
==
'true'
placeholder
:
process
.
env
[
"SHARELATEX_LDAP_"
]
if
process
.
env
[
"SHARELATEX_LDAP_TLS_OPTS_CA_PATH"
]
try
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment