summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-19 23:10:09 +0100
committerVolker Lendecke <vl@samba.org>2008-01-19 23:10:09 +0100
commit2411c6cb90e485bd289b8b654db1c632556bfb2d (patch)
treefcd3c960687e50626e1f488133c28b87c349a97d /source3/smbd/nttrans.c
parent14e7c292bc76b0edb8cafcaa728a612fa806fa6d (diff)
downloadsamba-2411c6cb90e485bd289b8b654db1c632556bfb2d.tar.gz
samba-2411c6cb90e485bd289b8b654db1c632556bfb2d.tar.bz2
samba-2411c6cb90e485bd289b8b654db1c632556bfb2d.zip
Add "split_ntfs_stream_name()" together with a torture test
(This used to be commit d813bd9e02d9baf916eb96c478be89f0c435e07c)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index e8df732ea2..9381174af0 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -271,6 +271,9 @@ void send_nt_replies(connection_struct *conn,
/****************************************************************************
Is it an NTFS stream name ?
+ An NTFS file name is <path>.<extention>:<stream name>:<stream type>
+ $DATA can be used as both a stream name and a stream type. A missing stream
+ name or type implies $DATA.
****************************************************************************/
bool is_ntfs_stream_name(const char *fname)