msdfs referrals at share-level
kalele at veritas.com
Tue Feb 11 01:53:31 GMT 2003
Thanks for the dfsenum fix. I've checked it into HEAD and 3.0.
The msdfs-proxy patch for 2.2 looks good too. I don't think it should be
any different from the changes for 3.0? I won't be checking it into 2_2
CVS though as I understand that 2.2.8 is only a
On Fri, 7 Feb 2003, Guenther Deschner wrote:
>now that the msdfs-proxy is in cvs (thanks again for taking a deeper look on
>that) i still have a small fix for the dfsenum-pipe that just prints the first
>dfsroot and then stops. with that fix it'll show you all dfsenum-infolevels.
>attached you'll find a backport of the msdfs-proxy for 2_2, maybe you could
>have a quick look and comment on that one too.
>On Mon, Oct 14, 2002 at 12:15:17PM -0700, Shirish Kalele wrote:
>> This is cool. Which Windows clients have you tested with?
>> As for the patch, it might be better if you coded this such that a
>> self-referral either pointed to itself, or to the proxied share. Having
>> something like 'msdfs proxy = server\share' in smb.conf, and sending that
>> whenever a self-referral was to be sent would be better than the hack you
>> have where you manipulate the client's requested path to become the msdfs
>> link to the proxy. imho, anyway. This might also make it easier to code the
>> NETDFS interface to this proxy stuff.
>> ----- Original Message -----
>> From: "Guenther Deschner" <gd at suse.de>
>> To: "Shirish Kalele" <kalele at veritas.com>
>> Cc: <samba-technical at lists.samba.org>; "Thomas Wiebach" <wiebach at suse.de>
>> Sent: Monday, October 14, 2002 6:36 AM
>> Subject: Re: msdfs referrals at share-level
>> hello shirish,
>> we made some more experiments with the dfs-code and now have a running
>> solution for our smb-proxy, without breaking msdfs (well, i didn't had a
>> look on the dfs_rpc-pipe for now...)
>> you can now have a samba-share behave like an mdfs-symlink.
>> if you set a share to "msdfs proxy = yes" and declare the link in its
>> path to "msdfs link name = linkname" the clients will reveive correct
>> referrals already when they access the share :)
>> since we are planning to use this patch in production, it would be very
>> nice if you could comment on this.
>> add to smb.conf:
>> host msdfs = yes
>> path = /export/dfs-fake
>> msdfs root = yes
>> msdfs proxy = yes
>> msdfs link name = "linkname"
>> create a link:
>> ln -s msdfs:unimak\\storage /export/dfs-fake/linkname
>> thanks a lot,
>> On Thu, Sep 05, 2002 at 09:50:51AM -0700, Shirish Kalele wrote:
>> > Hi,
>> > Clients do request dfs referrals for every share they connect to. In a dfs
>> > reply for a share, you could try and send a different sharename and see
>> > happens. I don't know if clients will be able to handle this. Look for
>> > self_referral in the setup_dfs_referral() code to find out where to start
>> > making changes.
>> > Let me know how the clients take it..
>> > Thanks,
>> > Shirish
>> > ----- Original Message -----
>> > From: "Guenther Deschner" <guenther.deschner at suse.de>
>> > To: <samba-technical at lists.samba.org>
>> > Sent: Wednesday, September 04, 2002 2:48 PM
>> > Subject: msdfs referrals at share-level
>> > hello everybody,
>> > as far as i have looked into msdfs.c it seems to be impossible to send
>> > a client a dfs-referral at the share level (\\fileserver\msdfs-link).
>> > maybe there is another way to "proxy" a request to \\samba\thisshare to
>> > \\anothersamba\thatshare ?
>> > i currently want to migrate a couple of nt-servers transparently for
>> > clients. the basic idea is to setup one samba-server that offers faked
>> > file-service via netbios-aliases and dfs-redirects to the real
>> > samba-fileserver. unfortunatly touching the clients is a no-go.
>> > old setup with *nt*:
>> > client -> //fileserver/share1
>> > planned setup with *samba*:
>> > client -> //fileserver/share1 where share1 -> msdfs:samba-file\whatever
>> > any help is much appreciated.
>> > bye,
>> > guenther
>> > --
>> > Guenther Deschner guenther.deschner at suse.de
>> > SuSE Linux AG GnuPG: 8EE11688
>> > Berliner Str. 27 phone: +49 (0) 30 / 430944778
>> > D-13507 Berlin fax: +49 (0) 30 / 43732804
>> Guenther Deschner guenther.deschner at suse.de
>> SuSE Linux AG GnuPG: 8EE11688
>> Berliner Str. 27 phone: +49 (0) 30 / 430944778
>> D-13507 Berlin fax: +49 (0) 30 / 43732804
>Guenther Deschner gd at suse.de
>SuSE Linux AG GnuPG: 8EE11688
>Berliner Str. 27 phone: +49 (0) 30 / 430944778
>D-13507 Berlin fax: +49 (0) 30 / 43732804
More information about the samba-technical