forked from rc/classroom
Add user homes on CIFS on Linux
This commit is contained in:
parent
beb1dbb757
commit
957cd67eb7
4 changed files with 76 additions and 15 deletions
20
roles/ad_joined/files/pam_mount.conf.xml
Normal file
20
roles/ad_joined/files/pam_mount.conf.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
|
||||
|
||||
<pam_mount>
|
||||
<!-- Example using CIFS -->
|
||||
<volume
|
||||
fstype="cifs"
|
||||
server="ucilnicesmb.fri1.uni-lj.si"
|
||||
path="%(USER)"
|
||||
mountpoint="~/"
|
||||
options="sec=krb5i,cruid=%(USERUID)"
|
||||
/>
|
||||
<volume
|
||||
fstype="cifs"
|
||||
server="ucilnicesmb.fri1.uni-lj.si"
|
||||
path="profiles/%(DOMAIN_USER).V6"
|
||||
mountpoint="~/win_profile"
|
||||
options="sec=krb5i,cruid=%(USERUID)"
|
||||
/>
|
||||
</pam_mount>
|
Loading…
Add table
Add a link
Reference in a new issue