summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-01 21:49:49 +0000
committerJeremy Allison <jra@samba.org>1998-07-01 21:49:49 +0000
commit139a34157eba50f70c86f2dd07fb384a7cbaf9cc (patch)
tree4f69d1986e53fdd7bf805038b8f54bd2b19cd136 /source3/smbd/trans2.c
parent1829528d1fb2b87c726341aaf8d69d1190f83d6b (diff)
downloadsamba-139a34157eba50f70c86f2dd07fb384a7cbaf9cc.tar.gz
samba-139a34157eba50f70c86f2dd07fb384a7cbaf9cc.tar.bz2
samba-139a34157eba50f70c86f2dd07fb384a7cbaf9cc.zip
includes.h: AIX fix.
nttrans.c: More NT SMB work. smb.h: More NT SMB defines. trans2.c: Change call response as I now have docs on what the flags mean. #ifdef it with JRATEST until I'm sure it's ok though. Jeremy. (This used to be commit ce2503fddd7ef9eed89e1a63fd834f13432a9cd6)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 4fefb4b39c..6cf7dd3949 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1069,7 +1069,11 @@ static int call_trans2qfsinfo(char *inbuf, char *outbuf, int length, int bufsize
}
case SMB_QUERY_FS_ATTRIBUTE_INFO:
data_len = 12 + 2*strlen(FSTYPE_STRING);
+#if 1 /* JRATEST */
+ SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES); /* FS ATTRIBUTES */
+#else /* JRATEST */
SIVAL(pdata,0,0x4006); /* FS ATTRIBUTES == long filenames supported? */
+#endif /* JRATEST */
SIVAL(pdata,4,128); /* Max filename component length */
SIVAL(pdata,8,2*strlen(FSTYPE_STRING));
PutUniCode(pdata+12,FSTYPE_STRING);