[Samba] Multiple homedir entries in smb.conf ?
J. Strohschnitter
samba-ml at rwz.de
Tue Feb 12 14:32:30 GMT 2008
> >>> is it possible to add multiple homedir templates to smb.conf ?
> >>>
> >>> I have a running linuxsystem where homefilesets are mounted
> >>> from different windows-servers to subdirs like:
> >>>
> >>> /home/server01/home/USERNAME
> >>> /home/server02/home/USERNAME
> >>> /home/server03/home/USERNAME
> >>>
> >>> The users come via winbind. In the smb.conf the entry for the
> >>> homedir:
> >>>
> >>> template homedir = /home/%U
> >>>
> >>> So how is it possible to add /home/serverXX/home/%U to the
> >>> smb.conf ?
> >>>
> >>>
> >> What about mounting with the bind option all the
> >> /home/$SERVER/home/$USERNAME dirs in /home/$USERNAME
> >>
> >>
> > don't know about bind-options while mounting. Is it possible
> > to mount multiple mountpoints to one directory ?
> > The windows-shares are mounted via smbfs with the entry in
> > the smbfstab:
> >
> > //server01/home /home/server01/home/ cifs username=XX,password=XX,rw,
> > gid=users,workgroup=XX,fmask=0700
> > [..]
> >
> > Is there a chance to mount all server[01-03] to one moutpoint ?
> >
> >
>
> Try UnionFS under linux, assuming you don't have any user home directory
> collisions across the servers.
Hi
ok, UnionFS is one solution - but it takes several days to configure. Is there
no change to add more than one homedir template to the smb.conf (just like using
variables) ?
--
Regards,
Jens Strohschnitter
-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for
the heart of the sun
-------------------------------------
__________________________________________________________
Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a
Tel: 0221/1638-0
Fax: 0221/1638-254
Sitz: Koeln
Amtsgericht Koeln, GnR 728
Geschaeftsfuehrender Vorstand:
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann
Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz
Vorsitzender des Aufsichtsrates:
Peter Bleser (MdB)
St.Nr.: 215/5938/0152
Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011
More information about the samba
mailing list