Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
af9a14c4
Commit
af9a14c4
authored
Jan 16, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain that `limit` only applies to the check
parent
dba98240
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
config/gitlab.yml.example
config/gitlab.yml.example
+2
-2
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+2
-0
No files found.
config/gitlab.yml.example
View file @
af9a14c4
...
@@ -116,8 +116,8 @@ production: &base
...
@@ -116,8 +116,8 @@ production: &base
# ==========================
# ==========================
## LDAP settings
## LDAP settings
# You can inspect
the first 100
LDAP users with login access by running:
# You can inspect
a sample of the
LDAP users with login access by running:
# bundle exec rake gitlab:ldap:check
[100]
RAILS_ENV=production
# bundle exec rake gitlab:ldap:check RAILS_ENV=production
ldap:
ldap:
enabled: false
enabled: false
host: '_your_ldap_server'
host: '_your_ldap_server'
...
...
lib/tasks/gitlab/check.rake
View file @
af9a14c4
...
@@ -682,6 +682,8 @@ namespace :gitlab do
...
@@ -682,6 +682,8 @@ namespace :gitlab do
namespace
:ldap
do
namespace
:ldap
do
task
:check
,
[
:limit
]
=>
:environment
do
|
t
,
args
|
task
:check
,
[
:limit
]
=>
:environment
do
|
t
,
args
|
# Only show up to 100 results because LDAP directories can be very big.
# This setting only affects the `rake gitlab:check` script.
args
.
with_defaults
(
limit:
100
)
args
.
with_defaults
(
limit:
100
)
warn_user_is_not_gitlab
warn_user_is_not_gitlab
start_checking
"LDAP"
start_checking
"LDAP"
...
...
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