[Samba] MSDFS on [homes] share for two samba servers
Michal Bruncko
michal.bruncko at gmail.com
Sun Jan 15 04:32:23 MST 2012
Hello Daniel,
also thanks for your answer. Your second hint with msfds proxy: it can
be applied also for homedirectories/homes shares? Because it seems like
just whole share redirect (directly from configuration file) to another
server/share.
I think that maybe this can be applied on virtual server, but this
statements need to be added for everyone user in organization... so it
is little more laborious, but in result we can use the most simple url
for every user in form \\virtual.filesrv\user. And in configuration
there should be:
[user_on_B]
msdfs proxy=\\hostB\share-on-B
or
[user_on_A]
msdfs proxy=\\hostA\share-on-A
it is correct understanding of msdfs proxy?
thanks
michal
thanks
michal
On 12. 1. 2012 12:04, Daniel Müller wrote:
> Hello,
> just use a cluster file system or ex:
> your host A has all the homes/shares of your users. Make it a host
> msdfs=yes and define a root dfs on it for all share that should be unique
> on both hosts.
> Host B is linked by msdfs proxy=\\hostA\share-on-A.
>
> That should do
>
> Good luck
> Daniel
>
> On Wed, 11 Jan 2012 19:28:42 +0100, Michal Bruncko
> <michal.bruncko at gmail.com> wrote:
>> Hello list,
>>
>> we have two samba servers on two localities with bigger distance between
>
>> them. On both localities there are organizational staff working. And I
>> am trying to configure homedirectories for all of staff in this way:
>> - all users will have same beginning part of URL path where is their
>> homedir located (i.e. \\files.example.com\loginname) for unification and
>
>> central acces
>> - but because the lower speed link between both localities there is need
>
>> to locate homedirs:
>> -- for locality A - on server A on that locality
>> -- for locality B - on server B on that locality
>>
>> fine, thats are requirements. So I have decided to use MSDFS in
>> combination with [homes] in this way:
>> - on server A (which will acts as "files.example.com") there will be
>> homedirs MSDFS links for users on locality B pointed to their real
>> homedirs on server B (with classic symlink syntax "user_on_locality_B"
>> -> "msdfs:IP_of_server_B\user_on_locality_B" )
>> So if user Bob from locality B will access its homedir, it will be
>> transparently redirected from Server A to its homedir on closest server
> B.
>>
>> this is nice theory. but in practicle, is this feasible with current
>> version of samba 3.x?
>> What is the best practicles for cases like this mine? Is there any way
>> for dispatching homedirs to two/more servers?
>>
>> thanks
>>
>> michal
More information about the samba
mailing list