[Samba] Automatically mounting home dir

Buchan Milne bgmilne at cae.co.za
Fri Oct 3 11:02:01 GMT 2003

Hash: SHA1

> Message: 2
> Date: Thu, 02 Oct 2003 15:28:51 +0300
> From: Budai Laszlo <lbudai at ms.sapientia.ro>
> Subject: Re: [Samba] Automatically mounting home dir
> To: Ow Mun Heng <ow.mun.heng at wdc.com>, samba at lists.samba.org
> Message-ID: <3F7C1A03.1080700 at ms.sapientia.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Hello,
> I think I wasn't that clear as I should.
> We have dual boot PCs in laboratories where students have access. We
> have active directory for windows, and we would like to be able to
> authenticate to linux as vell using the same username/password.
> If I join a computer running linux to the domain using the tools
> provided by samba 3, it will rewrite the computer's entry in the
> directory, so the next time I boot windows on the same computer  I
> cannot login using domain accounts.
> Is there a possibility to join a computer to the AD without changing the
> computer account information in the AD?

Not really, since the machines also change their own passwords, so even
if you can sync them once, you would have problems sync'ing the later.

> Or how can I use both windows and linux on the same computer and
> authenticate in the AD?

Join the linux installations seperately.

To answer the question in your title, you can automatically mout the
shares from the server at login time, using pam_mount. However, you
cannot use a Windows share as the home directory if you want to use KDE
or GNOME. You can't even (at present) use a samba server for this, even
using the cifs driver on the client. You still would need NFS, and that
would require that your winbind mappings are shared (ie in AD or some
other LDAP server, but I haven't done this myself ..).

It's easier to server heterogenous clients using
Linux/Samba/OpenLDAP/NFS IMHO ...


- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to info at cae.co.za for a copy.

More information about the samba mailing list