[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Really stupid question...



Hello Andy,

Am 2006-02-19 20:49:16, schrieb Andy Anderson:
> Okay, I'm sure everyone here knows how to do this
> except me...
> 
> I have a server with some disk space shared using
> Samba.  Each user has an account and a home share.
> When a user logs in to a workstation, I'd like their
> home share on the Samba server to be automatically
> mounted, and then unmounted when they log off.
> I'm using Gnome/GDM with Debian Sarge.  I'm sure
> there is an easy way to do this that I haven't found...
> 
> Thanks for any assistance in this.

Sorry, if I missunderstand, but if the $USER habe Gnome/GDM I asume
they are using Linux.  So why the Hell are you using Samba?

It is a Server vor Windows Clients.

Why not use the nfs-kernel-server by default?

On the Server do

        apt-get install nfs-kernel-server nfs-common portmap

and then configure 

+---[ '/etc/exports' ]----------------------------
| 
| /home	*(rw,no_root_squash,async,insecure)
| 
+-------------------------------------------------

run '/etc/init.d/nfs-kernel-server restart'.

Then on the clients setup your /home as

+---[ '/etc/fstab' ]--------------------------------------------------
| 
| your_server:/home       /home   nfs     rw,bg,hard,intr,tcp,vers=3,r
| size=8192,wsize=8192        0       0
| 
+---------------------------------------------------------------------

and then use 'mount /home' to get it.

Have fun.

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: