forked from rc/classroom
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>
|
<pam_mount>
|
||||||
<!-- Example using CIFS -->
|
<!-- Example using CIFS -->
|
||||||
|
<debug enable="0" />
|
||||||
<volume
|
<volume
|
||||||
fstype="cifs"
|
fstype="cifs"
|
||||||
server="ucilnicesmb.fri1.uni-lj.si"
|
server="ucilnicesmb.fri1.uni-lj.si"
|
||||||
path="%(USER)"
|
path="%(USER)"
|
||||||
mountpoint="~/"
|
mountpoint="~/"
|
||||||
options="sec=krb5i,cruid=%(USERUID)"
|
options="sec=krb5i,cruid=%(USERUID)"
|
||||||
/>
|
>
|
||||||
|
<not>
|
||||||
|
<or>
|
||||||
|
<user>local_admin</user>
|
||||||
|
<user>root</user>
|
||||||
|
<sgrp>sudo</sgrp>
|
||||||
|
</or>
|
||||||
|
</not>
|
||||||
|
</volume>
|
||||||
<volume
|
<volume
|
||||||
fstype="cifs"
|
fstype="cifs"
|
||||||
server="ucilnicesmb.fri1.uni-lj.si"
|
server="ucilnicesmb.fri1.uni-lj.si"
|
||||||
path="profiles/%(DOMAIN_USER).V6"
|
path="profiles/%(DOMAIN_USER).V6"
|
||||||
mountpoint="~/win_profile"
|
mountpoint="~/win_profile"
|
||||||
options="sec=krb5i,cruid=%(USERUID)"
|
options="sec=krb5i,cruid=%(USERUID)"
|
||||||
/>
|
>
|
||||||
|
<not>
|
||||||
|
<or>
|
||||||
|
<user>local_admin</user>
|
||||||
|
<user>root</user>
|
||||||
|
<sgrp>sudo</sgrp>
|
||||||
|
</or>
|
||||||
|
</not>
|
||||||
|
</volume>
|
||||||
</pam_mount>
|
</pam_mount>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue