Do not mount cifs volumes for local users; disable debug
This commit is contained in:
parent
957cd67eb7
commit
c5754dece2
1 changed files with 19 additions and 2 deletions
|
@ -3,18 +3,35 @@
|
|||
|
||||
<pam_mount>
|
||||
<!-- Example using CIFS -->
|
||||
<debug enable="0" />
|
||||
<volume
|
||||
fstype="cifs"
|
||||
server="ucilnicesmb.fri1.uni-lj.si"
|
||||
path="%(USER)"
|
||||
mountpoint="~/"
|
||||
options="sec=krb5i,cruid=%(USERUID)"
|
||||
/>
|
||||
>
|
||||
<not>
|
||||
<or>
|
||||
<user>local_admin</user>
|
||||
<user>root</user>
|
||||
<sgrp>sudo</sgrp>
|
||||
</or>
|
||||
</not>
|
||||
</volume>
|
||||
<volume
|
||||
fstype="cifs"
|
||||
server="ucilnicesmb.fri1.uni-lj.si"
|
||||
path="profiles/%(DOMAIN_USER).V6"
|
||||
mountpoint="~/win_profile"
|
||||
options="sec=krb5i,cruid=%(USERUID)"
|
||||
/>
|
||||
>
|
||||
<not>
|
||||
<or>
|
||||
<user>local_admin</user>
|
||||
<user>root</user>
|
||||
<sgrp>sudo</sgrp>
|
||||
</or>
|
||||
</not>
|
||||
</volume>
|
||||
</pam_mount>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue