X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-gpgimport;h=0ad4fc9d6d9a082106a9ecce4a07d2e25e392229;hp=797aa5d0d2c8cdd2ec078ae4a5a500524dcca429;hb=595923978a9ad55f4ec55b1aabef44683b111911;hpb=1aaf024407a8ac653bf10c28a043aff0a967e5df diff --git a/ud-gpgimport b/ud-gpgimport index 797aa5d..0ad4fc9 100755 --- a/ud-gpgimport +++ b/ud-gpgimport @@ -70,9 +70,9 @@ if len(arguments) == 0: # Connect to the ldap server if NoAct == 0: - l = passwdAccessLDAP(LDAPServer, BaseDn, AdminUser) + l = passwdAccessLDAP(BaseDn, AdminUser) else: - l = ldap.open(LDAPServer); + l = connectLDAP() l.simple_bind_s("",""); # Download the existing key list and put it into a map