X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=userdir_ldap.py;h=07bc6b12aee5e4c506b16ef044a3ea930d571f08;hp=0ea96a9571cc9ded039aab066544309236e29c30;hb=2525bf73603cb6487cfcea096e2dc347ad360394;hpb=10ed90c0bd35fb4538ef4e1b28fce41052aa124f diff --git a/userdir_ldap.py b/userdir_ldap.py index 0ea96a9..07bc6b1 100644 --- a/userdir_ldap.py +++ b/userdir_ldap.py @@ -1,5 +1,6 @@ # Some routines and configuration that are used by the ldap progams import termios, TERMIOS, re, string, imp, ldap, sys, whrandom, crypt, rfc822; +import userdir_gpg try: File = open("/etc/userdir-ldap/userdir-ldap.conf"); @@ -22,6 +23,9 @@ PassDir = ConfModule.passdir; Ech_ErrorLog = ConfModule.ech_errorlog; Ech_MainLog = ConfModule.ech_mainlog; +# Break up the keyring list +userdir_gpg.SetKeyrings(string.split(ConfModule.keyrings,":")); + # This is a list of common last-name prefixes LastNamesPre = {"van": None, "le": None, "de": None, "di": None};