summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-09 19:34:57 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-09 19:34:57 +0000
commit4e004a0b5e7521a361444f6d67a3c2910c5688c2 (patch)
treeadf7366300306ca62e405ad45441f3e0036a34f9 /source3/smbd/nttrans.c
parent755986764f5a6b0ec25c7f20fde0a80eb4d121ba (diff)
downloadsamba-4e004a0b5e7521a361444f6d67a3c2910c5688c2.tar.gz
samba-4e004a0b5e7521a361444f6d67a3c2910c5688c2.tar.bz2
samba-4e004a0b5e7521a361444f6d67a3c2910c5688c2.zip
basic client-side ntcreateX function (hard-wired values except filename)
(This used to be commit caeb99201a1471bd709b4e8f07c57e5caabf0795)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index b439ba9560..758c46a6cd 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -412,7 +412,7 @@ int reply_ntcreate_and_X(connection_struct *conn,
uint32 create_options = IVAL(inbuf,smb_ntcreate_CreateOptions);
uint32 fname_len = MIN(((uint32)SVAL(inbuf,smb_ntcreate_NameLength)),
((uint32)sizeof(fname)-1));
- uint16 root_dir_fid = (uint16)IVAL(inbuf,smb_ntcreate_RootDirectoryFid);
+ uint16 root_dir_fid = (uint16)IVAL(inbuf,smb_ntcreate_RootDirectoryFid);
int smb_ofun;
int smb_open_mode;
int smb_attr = (file_attributes & SAMBA_ATTRIBUTES_MASK);