Newer
Older
bootstrap / environments / production / modules / bootstrap / files / authentication / etc / security / pam_mount.conf.xml
<!-- MANAGED BY PUPPET (base-configuration::user_session) -->

<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">

<pam_mount>

	<debug enable="0" />

	<volume
		fstype="cifs"
		server="storage.hcs-p01.otago.ac.nz"
		path="infosci-lab/linux/2020_S1/%(USER)"
		mountpoint="/home/%(USER)"
		options="vers=3.0,domain=STUDENT,user=%(USER),exec,mfsymlinks,nobrl,cache=loose"
	>
		<and><not><user>infoadmin</user></not><not><user>root</user></not></and>
	</volume>

	<mntoptions require="nosuid,nodev" />

	<logout wait="5" term="yes" kill="yes" />

	<mkmountpoint enable="1" remove="true" />

</pam_mount>