vfs_expand_msdfs - Man Page

Expand msdfs links depending on client IP

Synopsis

vfs objects = expand_msdfs

Description

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​.

Version

This man page is part of version 4​.25​.0 of the Samba suite​.

Author

The original Samba software and related utilities were created by Andrew Tridgell​. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed​.

Info

10/01/2026 Samba 4.25.0 System Administration tools