diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2014-11-07 20:37:36 +0000 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-11-07 20:37:36 +0000 |
commit | 42af04afef430e1af2714988e258556d06914acd (patch) | |
tree | a25ea2ab433da248229b178cfb94e20365fa1839 /kent_student_lookup | |
parent | e95a7e991466b07ed3721fcabc5e66239d1b431b (diff) |
replace deprecated flag
the -h option of ldapsearch is deprecated in favor of -H
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'kent_student_lookup')
-rwxr-xr-x | kent_student_lookup | 2 |
1 files changed, 1 insertions, 1 deletions
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 |