X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-echelon;h=6c07a0ab5eb13baa6a69e2b557ff693678d54800;hp=36329807b5f882da88be8843cc50d0b0bd3ef3a4;hb=595923978a9ad55f4ec55b1aabef44683b111911;hpb=1aaf024407a8ac653bf10c28a043aff0a967e5df 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(" ")