forked from rc/classroom
37 lines
808 B
XML
37 lines
808 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
|
|
|
|
<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>
|