s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME
authorAravind Srinivasan <aravind.srinivasan@isilon.com>
Wed, 26 Aug 2009 21:56:09 +0000 (14:56 -0700)
committerTim Prouty <tprouty@samba.org>
Fri, 28 Aug 2009 23:38:57 +0000 (16:38 -0700)
commite046b382f24f507a19bfb020b145ea2ec8acafcb
tree867511a82c4772ee8f325c48ed1ec3f0b5e5d093
parent77e2403f1314a28722f0fb21f6682320b2e9935d
s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME

This vop is designed to work in tandem with SMB_VFS_READDIR to allow
vfs modules to make modifications to arbitrary filenames before
they're consumed by callers.  Subsequently the core directory
enumeration code in smbd is now changed to free the memory that may be
allocated in a module.  This vop enables the new version of catia in
the following patch.

Signed-off-by: Tim Prouty <tprouty@samba.org>
source3/include/proto.h
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/vfs_default.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_streams_depot.c
source3/smbd/dir.c
source3/smbd/filename.c
source3/smbd/msdfs.c
source3/smbd/reply.c
source3/smbd/vfs.c