Koozali.org: home of the SME Server

Mounting user's local domain account home dir under user's SME Server home dir.

Offline tkibugu

  • *
  • 24
  • +0/-0
Hi, has anyone successfully mounted a user's local domain account home directory under (or inside) the user's SME Server home  directory automatically on login? It would be nice to store a domain user's settings centrally in the server. The client is Debian 5. What do the client's smb.conf, common-session and pam_mount.conf.xml files look like? Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
tkibugu, welcome here..

please take some time to search the forums and the wiki before posting

maybe this page is what you need

HTH

Offline tkibugu

  • *
  • 24
  • +0/-0
Hi, Stefano. Thanks for your reply. May be I should have been more specific. In the howto that you direct me to, if you study the section under  "Automount User Home Directories at Login", you will find that the users 'home' directory from SME is mounted into a directory called 'nethome' in their local home directory. This actually works in my case (using a DebianLive client). What I'm looking for is the other way round: that the user's local home directory is mounted/created into the users 'home' directory from SME which of course was mounted earlier. This would be nice for a diskless workstation. Thanks.

Offline tkibugu

  • *
  • 24
  • +0/-0
Looking back, what I mean't was (in /etc/security/pam_mount.conf.xml):
Code: [Select]
<volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~" options="nosuid,nodev" />
instead of:
Code: [Select]
<volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~/nethome" options="nosuid,nodev" />

With the former case, I had problems with logging in and GNOME permission errors. Adding the "nounix" cifs option plus rearranging the /etc/pam.d/gdm files seem to have worked. see http://forums.contribs.org/index.php/topic,45263.0.html for more details.
« Last Edit: December 26, 2009, 10:07:36 AM by tkibugu »