Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
4abe1608
Verified
Commit
4abe1608
authored
4 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into f-one-time-tokens
parents
c2b7c3f9
3bff75cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
misc/pam_authentication/ldap.conf
+5
-4
5 additions, 4 deletions
misc/pam_authentication/ldap.conf
misc/pam_authentication/ldap_authentication.sh
+1
-1
1 addition, 1 deletion
misc/pam_authentication/ldap_authentication.sh
with
8 additions
and
5 deletions
CHANGELOG.md
+
2
−
0
View file @
4abe1608
...
...
@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Script for moving files (change their path) in the internal file system based
on a two-column tsv file (with columns "from" and "to"). See
[
README.md
](
misc/move_files/README.md
)
.
-
LDAP server may now be given and may be different from LDAP domain. See
`misc/pam_authentication/ldap.conf`
### Changed
...
...
This diff is collapsed.
Click to expand it.
misc/pam_authentication/ldap.conf
+
5
−
4
View file @
4abe1608
# This file is sourced by the LDAP authentication script
# Set the ldap server here. This is also used to generate a fully qualified
# user name: <USER>@$LDAP_SERVER
# Set the ldap server here.
# LDAP_SERVER="example.com"
# Set the ldap domain here. This is used to generate a fully qualified
# user name: <USER>@$LDAP_DOMAIN
# LDAP_DOMAIN="example.com"
This diff is collapsed.
Click to expand it.
misc/pam_authentication/ldap_authentication.sh
+
1
−
1
View file @
4abe1608
...
...
@@ -35,7 +35,7 @@ exe_dir=$(dirname $0)
# If the second argument is empty or "-", take password from stdin, else use the argument as a file.
testpw
()
{
username
=
"
${
1
}
@
${
LDAP_
SERVER
}
"
username
=
"
${
1
}
@
${
LDAP_
DOMAIN
}
"
pwfile
=
"
$2
"
pwargs
=(
"-w"
"
$pwfile
"
)
if
[[
$pwfile
==
"-"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment