X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=gpgwrapper;h=cf252262915b4b62d6d99107983e6ecb0a323069;hp=87ce6329dec7ecfa68e5b091232cf20b5ccc6792;hb=595923978a9ad55f4ec55b1aabef44683b111911;hpb=1aaf024407a8ac653bf10c28a043aff0a967e5df diff --git a/gpgwrapper b/gpgwrapper index 87ce632..cf25226 100755 --- a/gpgwrapper +++ b/gpgwrapper @@ -85,7 +85,7 @@ def CheckLDAP(FingerPrint): ErrType = EX_TEMPFAIL; ErrMsg = "An error occured while performing the LDAP lookup"; global l; - l = ldap.open(LDAPServer); + l = connectLDAP(LDAPServer); l.simple_bind_s("",""); # Search for the matching key fingerprint