X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=gpgwrapper;h=cf252262915b4b62d6d99107983e6ecb0a323069;hb=eb3223d5f08ccd7cf9594a1f2f60fd2e75773413;hp=87ce6329dec7ecfa68e5b091232cf20b5ccc6792;hpb=7e02135e1259847ac592fc58a408452f2e9e41af;p=mirror%2Fuserdir-ldap.git 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