[Samba] Multiple homedir entries in smb.conf ?
J. Strohschnitter
samba-ml at rwz.de
Wed Feb 13 11:25:18 GMT 2008
> >>> 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) ?
> >>>
> >> What about mounting with the bind option all the
> >> > >> /home/$SERVER/home/$USERNAME dirs in /home/$USERNAME
> >>
> >
> > Hi
> >
> > don't know about bind-option. What is meant with "bind-option" ? Is it an option
> > for the smbfstab ?
> >
>
>
> for i in /home/server{1..3}/home/*
> do
> cd /home && mkdir basename $i
> mount --bind $i /home/`basename $i`
> done
>
> This script strictly untested.
>
Hi
yep! It works fine! Just the line cd /home && mkdir basename $i
must be: cd /home && mkdir `basename $i`
Many, many thanxx !!!
--
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