Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
BRIC
dokuwiki
Commits
10bf8148
Commit
10bf8148
authored
12 years ago
by
Andreas Gohr
Browse files
Options
Downloads
Patches
Plain Diff
dded config metadata for authldap plugin
parent
52c3bef9
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
lib/plugins/authldap/conf/metadata.php
+17
-0
17 additions, 0 deletions
lib/plugins/authldap/conf/metadata.php
lib/plugins/authldap/lang/en/settings.php
+15
-0
15 additions, 0 deletions
lib/plugins/authldap/lang/en/settings.php
with
32 additions
and
0 deletions
lib/plugins/authldap/conf/metadata.php
0 → 100644
+
17
−
0
View file @
10bf8148
<?php
$meta
[
'server'
]
=
array
(
'string'
);
$meta
[
'port'
]
=
array
(
'numeric'
);
$meta
[
'usertree'
]
=
array
(
'string'
);
$meta
[
'grouptree'
]
=
array
(
'string'
);
$meta
[
'userfilter'
]
=
array
(
'string'
);
$meta
[
'groupfilter'
]
=
array
(
'string'
);
$meta
[
'version'
]
=
array
(
'numeric'
);
$meta
[
'starttls'
]
=
array
(
'onoff'
);
$meta
[
'referrals'
]
=
array
(
'onoff'
);
$meta
[
'binddn'
]
=
array
(
'string'
);
$meta
[
'bindpw'
]
=
array
(
'password'
);
//$meta['mapping']['name'] unsupported in config manager
//$meta['mapping']['grps'] unsupported in config manager
$meta
[
'userscope'
]
=
array
(
'multichoice'
,
'_choices'
=>
array
(
'sub'
,
'one'
,
'base'
));
$meta
[
'groupscope'
]
=
array
(
'multichoice'
,
'_choices'
=>
array
(
'sub'
,
'one'
,
'base'
));
$meta
[
'debug'
]
=
array
(
'onoff'
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/plugins/authldap/lang/en/settings.php
0 → 100644
+
15
−
0
View file @
10bf8148
<?php
$lang
[
'server'
]
=
'Your LDAP server. Either hostname (<code>localhost</code>) or full qualified URL (<code>ldap://server.tld:389</code>)'
;
$lang
[
'port'
]
=
'LDAP server port if no full URL was given above'
;
$lang
[
'usertree'
]
=
'Where to finde the user accounts. Eg. <code>ou=People, dc=server, dc=tld</code>'
;
$lang
[
'grouptree'
]
=
'Where to find the user groups. Eg. <code>ou=Group, dc=server, dc=tld</code>'
;
$lang
[
'userfilter'
]
=
'LDAP filter to search for user accounts. Eg. <code>(&(uid=%{user})(objectClass=posixAccount))</code>'
;
$lang
[
'groupfilter'
]
=
'LDAP filter to search for groups. Eg. <code>(&(objectClass=posixGroup)(|(gidNumber=%{gid})(memberUID=%{user})))</code>'
;
$lang
[
'version'
]
=
'The protocol version to use. You may need to set this to <code>3</code>'
;
$lang
[
'starttls'
]
=
'Use TLS connections?'
;
$lang
[
'referrals'
]
=
'Shall referrals be followed?'
;
$lang
[
'binddn'
]
=
'DN of an ptional bind user if anonymous bind is not sufficient. Eg. <code>cn=admin, dc=my, dc=home</code>'
;
$lang
[
'bindpw'
]
=
'Password of above user'
;
$lang
[
'userscope'
]
=
'Limit search scope for user search'
;
$lang
[
'groupscope'
]
=
'Limit search scope for group search'
;
$lang
[
'debug'
]
=
'Display additional debug information on errors'
;
\ No newline at end of file
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