From de63ef4c27fb0a1c29bd5005d002fe66bea10ef2 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Mon, 24 Jan 2011 01:28:27 -0500 Subject: [PATCH] Print the LDAP command-line Some large fraction of the times I use ldapfinger, I'm using it instead of reading the ldapsearch man page. Consequently, printing the commandline instead of requiring me to run "cat $(which ldapfinger)" would be convenient. --- ldapfinger | 1 + 1 file changed, 1 insertion(+) diff --git a/ldapfinger b/ldapfinger index 0ed2581..8eb1185 100755 --- a/ldapfinger +++ b/ldapfinger @@ -2,5 +2,6 @@ for user in $@; do + echo ldapsearch -h ldap.mit.edu -b dc=mit,dc=edu uid=$user ldapsearch -h ldap.mit.edu -b dc=mit,dc=edu uid=$user done -- 2.34.1