msdfs referrals at share-level

Shirish Kalele kalele at veritas.com
Thu Sep 5 16:49:00 GMT 2002


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





More information about the samba-technical mailing list