[Samba] Multiple homedir entries in smb.conf ?

Mike Wilkinson mwilkinson at bigbangdigitalstudios.com
Mon Feb 11 17:08:29 GMT 2008


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


More information about the samba mailing list