[ldapcertfs] Petites erreurs
This commit is contained in:
parent
a85578e242
commit
49842d5293
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ class LdapCertFS(fuse.Fuse):
|
|||
'csr.pem' : {'file':['csr'], 'mode':0444},
|
||||
'chain.pem' : {'file':['chain'], 'mode':0444},
|
||||
'key_cert_chain.pem' : {'file':['privatekey', 'certificat', 'chain'], 'mode':0400},
|
||||
'cert_chain.pem' : {'file':['certificat', 'chain'], 'mode':0400},
|
||||
'cert_chain.pem' : {'file':['certificat', 'chain'], 'mode':0444},
|
||||
}
|
||||
self.conn = lc_ldap.shortcuts.lc_ldap_readonly()
|
||||
self._storage = {}
|
||||
|
@ -190,7 +190,7 @@ class LdapCertFS(fuse.Fuse):
|
|||
self.conn = lc_ldap.shortcuts.lc_ldap_readonly()
|
||||
if not rec:
|
||||
logger.warning("[ldapcertfs] ldap down, retrying")
|
||||
kwargs['rec'] = rec
|
||||
kwargs['rec'] = True
|
||||
self.func_cache(func, *args, **kwargs)
|
||||
except Exception as e:
|
||||
logger.error("[ldapcertfs] uncaught exception %r" % e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue