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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1d2af745
Commit
1d2af745
authored
Jan 21, 2014
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rephrase_ldap_check' into 'master'
Rephrase LDAP check script output
parents
afd29993
2f4d0a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+1
-1
No files found.
lib/tasks/gitlab/check.rake
View file @
1d2af745
...
@@ -698,7 +698,7 @@ namespace :gitlab do
...
@@ -698,7 +698,7 @@ namespace :gitlab do
end
end
def
print_users
(
limit
)
def
print_users
(
limit
)
puts
"LDAP users with access to your GitLab server (
limit:
#{
limit
}
):
"
puts
"LDAP users with access to your GitLab server (
only showing the first
#{
limit
}
results)
"
ldap
.
search
(
attributes:
attributes
,
filter:
filter
,
size:
limit
,
return_result:
false
)
do
|
entry
|
ldap
.
search
(
attributes:
attributes
,
filter:
filter
,
size:
limit
,
return_result:
false
)
do
|
entry
|
puts
"DN:
#{
entry
.
dn
}
\t
#{
ldap_config
.
uid
}
:
#{
entry
[
ldap_config
.
uid
]
}
"
puts
"DN:
#{
entry
.
dn
}
\t
#{
ldap_config
.
uid
}
:
#{
entry
[
ldap_config
.
uid
]
}
"
end
end
...
...
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