From 42af04afef430e1af2714988e258556d06914acd Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 7 Nov 2014 20:37:36 +0000 Subject: replace deprecated flag the -h option of ldapsearch is deprecated in favor of -H Signed-off-by: Olivier Gayot --- kent_student_lookup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kent_student_lookup') diff --git a/kent_student_lookup b/kent_student_lookup index 49315a5..1ea4998 100755 --- a/kent_student_lookup +++ b/kent_student_lookup @@ -21,4 +21,4 @@ if [ $# -ne 1 ]; then exit 1; fi; -ldapsearch -h ldap.id -x "(|(sn=$1)(uid=$1))" -b ou=students,o=kent.ac.uk,o=uni +ldapsearch -H ldap://ldap.id -x "(|(sn=$1)(uid=$1))" -b ou=students,o=kent.ac.uk,o=uni -- cgit v1.2.3