X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=ud-host;h=97af1ef6e04ae5ecc02598d298d4b3206ca2699c;hb=595923978a9ad55f4ec55b1aabef44683b111911;hp=e186e9a796d6f32560159d2be770d2f58854830f;hpb=1aaf024407a8ac653bf10c28a043aff0a967e5df;p=mirror%2Fuserdir-ldap.git diff --git a/ud-host b/ud-host index e186e9a..97af1ef 100755 --- a/ud-host +++ b/ud-host @@ -241,9 +241,9 @@ for (switch, val) in options: FingerPrints = 1 if (BindUser != ""): - l = passwdAccessLDAP(LDAPServer, BaseDn, BindUser) + l = passwdAccessLDAP(BaseDn, BindUser) else: - l = ldap.open(LDAPServer); + l = connectLDAP() l.simple_bind_s("","") if ListMode == 1: