X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-echelon;h=6c07a0ab5eb13baa6a69e2b557ff693678d54800;hb=6b038cc113dde577b9cc19c62656bf6d2b41362d;hp=36329807b5f882da88be8843cc50d0b0bd3ef3a4;hpb=dc2644ca6761003bc2ede1d8c92235096b11c6fb;p=mirror%2Fuserdir-ldap.git diff --git a/ud-echelon b/ud-echelon index 3632980..6c07a0a 100755 --- a/ud-echelon +++ b/ud-echelon @@ -94,7 +94,7 @@ try: ErrType = EX_TEMPFAIL; ErrMsg = "An error occured while performing the LDAP lookup"; global l; - l = ldap.open(LDAPServer); + l = connectLDAP() if Debug == None: F = open(PassDir+"/pass-"+pwd.getpwuid(os.getuid())[0],"r"); AccessPass = F.readline().strip().split(" ")