44 lines
1.4 KiB
XML
44 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
||
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
|
||
<!--
|
||
See pam_mount.conf(5) for a description.
|
||
-->
|
||
|
||
<pam_mount>
|
||
<!--
|
||
debug should come before everything else, since this file is still
|
||
processed in a single pass from top-to-bottom
|
||
-->
|
||
<debug enable="0" />
|
||
|
||
<!-- Volume definitions -->
|
||
<volume user="*" sgrp="domain users" fstype="cifs" server="{{ server }}" path="%(USER)" mountpoint="~" options="iocharset=utf8,file_mode=0644,dir_mode=0755" />
|
||
<volume user="*" sgrp="domain users" fstype="cifs" server="{{ server }}" path="shared" mountpoint="~/Condiviso" options="iocharset=utf8,file_mode=0664,dir_mode=0775" />
|
||
|
||
<!-- pam_mount parameters: General tunables -->
|
||
<!--
|
||
<luserconf name=".pam_mount.conf.xml" />
|
||
-->
|
||
|
||
<!--
|
||
Note that commenting out mntoptions will give you the defaults.
|
||
You will need to explicitly initialize it with the empty string
|
||
to reset the defaults to nothing.
|
||
-->
|
||
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />
|
||
<!--
|
||
<mntoptions deny="suid,dev" />
|
||
<mntoptions allow="*" />
|
||
<mntoptions deny="*" />
|
||
-->
|
||
<mntoptions require="nosuid,nodev" />
|
||
|
||
<logout wait="10" hup="0" term="0" kill="0" />
|
||
|
||
<!-- pam_mount parameters: Volume-related -->
|
||
<mkmountpoint enable="1" remove="false" />
|
||
</pam_mount>
|
||
<!--
|
||
{{ ansible_managed }}
|
||
-->
|