Skip to content

Commit

Permalink
Chnage name of home mountpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianim committed May 10, 2021
1 parent cbe2426 commit 6e657e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
linuxmuster-linuxclient7 (UNRELEASED) focal; urgency=medium
linuxmuster-linuxclient7 (1.0.3) focal; urgency=medium

- More cleanup in prepare-image (#13, #11)
- Pam_mount is not used anymore (#14)
- Home dir is now mounted as `$USER (H:)` instead of just `$USER`

-- Dorian Zedler <[email protected]> Wed, 07 Apr 2021 13:02:00 +0200
-- Dorian Zedler <[email protected]> Mon, 10 May 2021 13:02:00 +0200

linuxmuster-linuxclient7 (1.0.2) focal; urgency=medium

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"/etc/cups/client.conf",
"/usr/share/linuxmuster-linuxclient7/templates/linuxmuster-client-adsso.service",
"/usr/share/linuxmuster-linuxclient7/templates/linuxmuster-client-adsso-autostart.desktop",
"/etc/security/pam_mount.conf.xml"
"/etc/security/pam_mount.conf.xml",
"{}/pam_mount.conf.xml".format(configFileTemplateDir)
]

obsoleteDirectories = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def mountHomeShare():
try:
homeShareServerPath = userAttributes["homeDirectory"]
username = userAttributes["sAMAccountName"]
shares.mountShare(homeShareServerPath, shareName=username, hiddenShare=False, username=username)
shareName = "{0} ({1})".format(username, userAttributes["homeDrive"])
shares.mountShare(homeShareServerPath, shareName=shareName, hiddenShare=False, username=username)
except Exception as e:
logging.error("Could not mount home dir of user")
logging.exception(e)

0 comments on commit 6e657e7

Please sign in to comment.