From: Alex Dehnert Date: Fri, 9 Aug 2013 14:05:40 +0000 (-0400) Subject: ldapfinger: frob some settings so LDAP works X-Git-Url: https://www.dehnerts.com/gitweb/?p=user%2Falex%2Fsoftware%2Fmy-snippets.git;a=commitdiff_plain;h=1f8b7e478b38bbe22778a7856a54f43dfbed1167 ldapfinger: frob some settings so LDAP works Not really sure why this helps... --- diff --git a/ldapfinger b/ldapfinger index 7591226..a71a22d 100755 --- a/ldapfinger +++ b/ldapfinger @@ -2,8 +2,8 @@ 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 + echo ldapsearch -x -h ldap.mit.edu -b dc=mit,dc=edu uid=$user + ldapsearch -x -h ldap.mit.edu -b dc=mit,dc=edu uid=$user done echo Try also athrun consult ldaps