Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
29c16fb3
Commit
29c16fb3
authored
9 years ago
by
David Yang
Browse files
Options
Downloads
Patches
Plain Diff
- Added documentation to modules/ldap/docs/ldap.txt
parent
ff5497e9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config-templates/authsources.php
+3
-3
3 additions, 3 deletions
config-templates/authsources.php
modules/ldap/docs/ldap.txt
+12
-0
12 additions, 0 deletions
modules/ldap/docs/ldap.txt
with
15 additions
and
3 deletions
config-templates/authsources.php
+
3
−
3
View file @
29c16fb3
...
...
@@ -303,15 +303,15 @@ $config = array(
// array of strings, in which case they will be searched in the order given.
'search.base' => 'ou=people,dc=example,dc=org',
// Additional LDAP filters appended to the default search
'search.filter' => '(objectclass=inetorgperson)',
// The attribute(s) the username should match against.
//
// This is an array with one or more attribute names. Any of the attributes in
// the array may match the value the username.
'search.attributes' => array('uid', 'mail'),
// Additional LDAP filters appended to the search attributes
'search.filter' => '(objectclass=inetorgperson)',
// The username & password the SimpleSAMLphp should bind to before searching. If
// this is left as NULL, no bind will be performed before searching.
'search.username' => NULL,
...
...
This diff is collapsed.
Click to expand it.
modules/ldap/docs/ldap.txt
+
12
−
0
View file @
29c16fb3
...
...
@@ -71,6 +71,14 @@ authentication source:
*/
'search.attributes' => array('uid', 'mail'),
/*
* Additional filters that must match for the entire LDAP search to be TRUE
*
* This should be a single string conforming to (RFC 1960, 2544)
* The string is appended to the search attributes
*/
'search.filter' => '(&(objectClass=Person)(|(sn=Doe)(cn=John *)))',
/*
* The username & password where SimpleSAMLphp should bind to before searching. If
* this is left NULL, no bind will be performed before searching.
...
...
@@ -103,6 +111,10 @@ options. The `search.base`-option must be the `dn` which should be used
as the base/root of the search. The `search.attributes`-option is an
array with attributes the username should be matched against.
You can also append the `search.filter` option to further limit your search.
The `search.filter` field is optional and need not be included in your
configuration file.
The `dnpattern` option will not be used if searching is enabled.
Some LDAP servers may require authentication before a search can be
...
...
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