From 5eaf6f08e905a7e7b119115da089c098f31b9dea Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Mon, 23 Sep 2024 08:29:50 +0200 Subject: [PATCH] document automatic mount of users Windows shares --- admin-guide/configuration/mount.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/admin-guide/configuration/mount.md b/admin-guide/configuration/mount.md index 436b039a..321f00c1 100644 --- a/admin-guide/configuration/mount.md +++ b/admin-guide/configuration/mount.md @@ -2,6 +2,28 @@ Managing mount points of local or network volumes can also be managed in Hiera. +First we show more generic features which mount a given set of network drives. +More below is documented how individual mounts can be created or removed. + + +## Access same Network Drives as Windows + +Linux can be made to mount a users usual network drives the same way as Windows. +The mountpoints can be found in `~/network-drives`. +The `U:`-drive is there named `home`, while the rest keeps their original share name. + + +This feature is controlled in Hiera with + +``` +user_session::mount_cifs_shares: true +``` + +These mounts are created on the first user session created and will end with the last session closed. +If for some reason they are not created (e.g. due to offline login), you might execute `/opt/pli/bin/create-network-drive-links` to bring them back in again. + +Note this does not work for RHEL7. + ## Managing Mountpoints in Hiera