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=f8181b0dfa59390433a8329e61f0cfbc2f720644;hpb=a6fb69805c3999a85c064a96c93417bb1c284c5c 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":