X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=userdir_ldap.py;h=539dbaef3c21c24a4fb9e4a9d4763802897c119d;hb=72635ae3b990fee4cc88ce1361731e3a518fd242;hp=0ef10996c91bb95d05045d9822707ce94729b7b7;hpb=198bda079d03f7251b50f95e6a28c1fb046e616a;p=mirror%2Fuserdir-ldap.git diff --git a/userdir_ldap.py b/userdir_ldap.py index 0ef1099..539dbae 100644 --- a/userdir_ldap.py +++ b/userdir_ldap.py @@ -41,6 +41,10 @@ PassDir = ConfModule.passdir; Ech_ErrorLog = ConfModule.ech_errorlog; Ech_MainLog = ConfModule.ech_mainlog; +# For backwards compatibility, we default to the old behaviour +MultipleSSHFiles = getattr(ConfModule, 'multiplesshfiles', False) +SingleSSHFile = getattr(ConfModule, 'singlesshfile', True) + # Break up the keyring list userdir_gpg.SetKeyrings(ConfModule.keyrings.split(":"))