X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-ldapshow;h=70e1f7003b86612ddc764ae986190bcd2689e767;hb=b44545fc006d066aae35b899242486d34d47d03b;hp=0c54cb43e57cb5d5ed199df683263e704fcf3c59;hpb=836c37b9ee287a5934e9d42b8eee5bfa632c560b;p=mirror%2Fuserdir-ldap.git diff --git a/ud-ldapshow b/ud-ldapshow index 0c54cb4..70e1f70 100755 --- a/ud-ldapshow +++ b/ud-ldapshow @@ -4,7 +4,7 @@ # Call with nokey to generate a missing key report # Call with noforward to generate a missing .forward report -import string, re, time, ldap, getopt, sys; +import re, time, ldap, getopt, sys; from userdir_ldap import *; def ShowDups(Attrs,Len): @@ -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":