Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: tkibugu on November 27, 2009, 03:33:13 PM
-
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.
-
tkibugu, welcome here..
please take some time to search the forums and the wiki before posting
maybe this page (http://wiki.contribs.org/Client_Authentication:Ubuntu) is what you need
HTH
-
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.
-
Looking back, what I mean't was (in /etc/security/pam_mount.conf.xml):
<volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~" options="nosuid,nodev" />
instead of:
<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.