[x509] Montage des certificats de la base ldap dans /etc/ssl/crans avec autofs

This commit is contained in:
Valentin Samir 2014-03-18 22:41:51 +01:00
parent c7278967f2
commit 680f28cdb8
7 changed files with 39 additions and 11 deletions

View file

@ -8,5 +8,9 @@ def mount(mntpoint, script, timeout=None):
else:
print mntpoint, script
if has("home"):
if has("home") and not has("home-permanent"):
mount("/home", "/etc/auto.home", 600)
if has("ldapcert"):
mount("/-", "/etc/auto.ldapcert", 600)