X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-ldapshow;h=70e1f7003b86612ddc764ae986190bcd2689e767;hp=c3973405b5fa6f84624091762b9bfa590bb29d68;hb=595923978a9ad55f4ec55b1aabef44683b111911;hpb=1aaf024407a8ac653bf10c28a043aff0a967e5df diff --git a/ud-ldapshow b/ud-ldapshow index c397340..70e1f70 100755 --- a/ud-ldapshow +++ b/ud-ldapshow @@ -31,7 +31,7 @@ for (switch, val) in options: print "Connecting to LDAP directory"; # Connect to the ldap server -l = ldap.open(LDAPServer); +l = connectLDAP() l.simple_bind_s("",""); if arguments[0] == "nokey":