• Steve French's avatar
    Add mfsymlinks support for SMB2.1/SMB3. Part 1 create symlink · 5ab97578
    Steve French authored
    Adds support on SMB2.1 and SMB3 mounts for emulation of symlinks
    via the "Minshall/French" symlink format already used for cifs
    mounts when mfsymlinks mount option is used (and also used by Apple).
    http://wiki.samba.org/index.php/UNIX_Extensions#Minshall.2BFrench_symlinks
    This first patch adds support to create them.  The next patch will
    add support for recognizing them and reading them.  Although CIFS/SMB3
    have other types of symlinks, in the many use cases they aren't
    practical (e.g. either require cifs only mounts with unix extensions
    to Samba, or require the user to be Administrator to Windows for SMB3).
    This also helps enable running additional xfstests over SMB3 (since some
    xfstests directly or indirectly require symlink support).
    Signed-off-by: default avatarSteve French <smfrench@gmail.com>
    CC: Stefan Metzmacher <metze@samba.org>
    5ab97578
smb2proto.h 8.34 KB