X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=userdir_ldap.py;h=539dbaef3c21c24a4fb9e4a9d4763802897c119d;hb=65a87133ac45ecc72c0b41a8d88c8d7b7fa7b15b;hp=0ef10996c91bb95d05045d9822707ce94729b7b7;hpb=85b5893ebe019e46eac616141b87d55f63730523;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(":"))