X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-ldapshow;h=70e1f7003b86612ddc764ae986190bcd2689e767;hb=de6be72a0f8c50acaf83a9111f0bd3901e5eac1c;hp=c3973405b5fa6f84624091762b9bfa590bb29d68;hpb=198bda079d03f7251b50f95e6a28c1fb046e616a;p=mirror%2Fuserdir-ldap.git 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":