Login
Forgot Password
Wiki Preferences
Wiki*
Getting Started
FAQ
Docs
Hardware
Software
Tutorials
Context Navigation
Back to Internal/cProcedures/aGeneratingReports
Internal/cProcedures/aGeneratingReports
: ldapUsers.sh
File ldapUsers.sh,
181 bytes
(added by
Olivera Tosic
,
8 years ago
)
Line
1
#!/bin/sh
2
3
for
ou in
`
cat
$1
`
4
do
5
ldapsearch -LLL -h ldap.orbit-lab.org -p
389
-x -b
"ou=
$ou
,dc=orbit-lab, dc=org"
"objectClass=person"
uid
|
grep ^dn:
|
echo
$ou
"
$(
wc -l
)
"
6
done
Download in other formats:
Original Format