projects
/
user
/
alex
/
software
/
my-snippets.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ldapfinger: fix quoting
[user/alex/software/my-snippets.git]
/
ldapfinger
1
#!/bin/bash
2
3
4
for user in "$@"; do
5
echo ldapsearch -x -h ldap.mit.edu -b dc=mit,dc=edu "uid=$user"
6
ldapsearch -x -h ldap.mit.edu -b dc=mit,dc=edu "uid=$user"
7
done
8
9
echo Try also athrun consult ldaps
10
echo or ldapsearch -x -h ldap-too.mit.edu -b ou=moira,dc=mit,dc=edu "uid=$user"