2015-07-12 23:13:12 +02:00
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
|
|
|
|
|
<!--
|
2015-07-28 22:19:44 +02:00
|
|
|
|
See pam_mount.conf(5) for a description.
|
2015-07-12 23:13:12 +02:00
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<pam_mount>
|
2015-07-28 22:19:44 +02:00
|
|
|
|
<!--
|
|
|
|
|
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 -->
|
2015-08-19 17:23:54 +02:00
|
|
|
|
<volume user="*" sgrp="domain users" fstype="cifs"
|
2015-09-21 01:29:34 +02:00
|
|
|
|
server="{{ ansible_local.domain.server }}" path="%(USER)" mountpoint="~"
|
2016-02-21 14:40:53 +01:00
|
|
|
|
options="setuids,acl,user_xattr,iocharset=utf8,file_mode=0644,dir_mode=0755,cache=none" />
|
2015-08-19 17:23:54 +02:00
|
|
|
|
<volume user="*" sgrp="domain users" fstype="cifs"
|
2015-09-21 01:29:34 +02:00
|
|
|
|
server="{{ ansible_local.domain.server }}" path="shared" mountpoint="~/Condiviso"
|
2016-02-21 14:40:53 +01:00
|
|
|
|
options="setuids,acl,user_xattr,iocharset=utf8,file_mode=0664,dir_mode=0775,cache=strict" />
|
2015-07-28 22:19:44 +02:00
|
|
|
|
|
|
|
|
|
<!-- 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.
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
2015-08-19 17:23:54 +02:00
|
|
|
|
<mntoptions allow="loop,encryption,fsck,nonempty,allow_root,allow_other" />
|
2015-07-28 22:19:44 +02:00
|
|
|
|
<mntoptions deny="suid,dev" />
|
|
|
|
|
<mntoptions allow="*" />
|
|
|
|
|
<mntoptions deny="*" />
|
2015-08-19 02:00:43 +02:00
|
|
|
|
<mntoptions require="nosuid,nodev,exec" />
|
2015-08-19 17:23:54 +02:00
|
|
|
|
-->
|
2015-07-28 22:19:44 +02:00
|
|
|
|
|
|
|
|
|
<logout wait="10" hup="0" term="0" kill="0" />
|
|
|
|
|
|
|
|
|
|
<!-- pam_mount parameters: Volume-related -->
|
|
|
|
|
<mkmountpoint enable="1" remove="false" />
|
|
|
|
|
</pam_mount>
|
2015-07-12 23:13:12 +02:00
|
|
|
|
<!--
|
2015-07-28 22:19:44 +02:00
|
|
|
|
{{ ansible_managed }}
|
2015-07-12 23:13:12 +02:00
|
|
|
|
-->
|