path-level dfs referrals from VFS module

James Peach jorgar at gmail.com
Tue Aug 7 23:51:23 GMT 2007


On 07/08/07, Gifford Hesketh <gifford.hesketh at gmail.com> wrote:
> I would like to have a VFS module that performs "late" dfs referrals,
> determining whether to send STATUS_PATH_NOT_COVERED for path information
> below the share level.  Is this going to be possible, or would it require
> more-extensive changes ?

It's possible to write a VFS module that emits the specially-formatted
symlinks that Samba uses as DFS trigger point. There's an example of
doing this here:

<http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/tmp/jpeach-cluster/source/modules/vfs_redirect.c?rev=13303&view=markup>

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list