[x509] Montage des certificats de la base ldap dans /etc/ssl/crans avec autofs
This commit is contained in:
parent
c7278967f2
commit
680f28cdb8
7 changed files with 39 additions and 11 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue