vfs_expand_msdfs — Expand msdfs links depending on client IP
vfs objects = expand_msdfs
This VFS module is part of the samba(7) suite.
With this module, the link target is not directly a server and share, but this module expects the target to reference a file, containing a table. The file is referenced by means of the msdfs symlink target according to msdfs:@table-filename@/share. The file table-filename is supposed to contain a list of destinations that are looked at from top to bottom:
192.168.234 local.samba.org 192.168 remote.samba.org default.samba.org
With this, clients from network 192.168.234/24 are redirected to host local.samba.org, clients from 192.168/16 are redirected to remote.samba.org and all other clients go to default.samba.org.