Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-27 Thread Laurent CARON

J. Strohschnitter wrote:

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 ?



Ok

I have read the manpages fpr mount. So I tried out:

Existing mounts:

//server01/home on /server/server01
//server02/home on /server/server02

So I tried to mount via:

# mount --bind /server/server02 /server/server01

But now in /server/server01 I see only the content of server02.
What do I wrong ?



what about:

mount --bind /server/server02/home/$USER /home/$USER
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-13 Thread J. Strohschnitter

> >>> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-13 Thread J. Strohschnitter

> > 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 ?
> 

Ok

I have read the manpages fpr mount. So I tried out:

Existing mounts:

//server01/home on /server/server01
//server02/home on /server/server02

So I tried to mount via:

# mount --bind /server/server02 /server/server01

But now in /server/server01 I see only the content of server02.
What do I wrong ?


--
Regards,

 Jens Strohschnitter

-
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-
Set the controls for 
 the heart of the sun
-



-- 
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-13 Thread Laurent CARON

J. Strohschnitter wrote:

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.

you can try mount --bind directly by using

mount --bind /home/server1/home/myuser /home/myuser

Laurent
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-13 Thread J. Strohschnitter
> > 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 ?

-- 
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-12 Thread Laurent CARON

J. Strohschnitter wrote:

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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-12 Thread J. Strohschnitter
> >>> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-11 Thread Mike Wilkinson
Try UnionFS under linux, assuming you don't have any user home directory 
collisions across the servers.


J. Strohschnitter wrote:

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





Hi

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 ?

  

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-11 Thread J. Strohschnitter

> > 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
> 

Hi

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 ?

-- 
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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Multiple homedir entries in smb.conf ?

2008-02-11 Thread Laurent CARON

J. Strohschnitter wrote:

Hi list,

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 ?



Hi,

What about mounting with the bind option all the 
/home/$SERVER/home/$USERNAME dirs in /home/$USERNAME


Laurent
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba