summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-10 12:25:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:03 -0500
commita2d2128b8a555f3434324ccd93ff72d918825bd3 (patch)
treecd9ff41bba667a4942e029a05b5860bbda6b49f7 /source4/smb_server
parent872b821fca36bf543f2c3baf1296f25d1cb7e5a7 (diff)
downloadsamba-a2d2128b8a555f3434324ccd93ff72d918825bd3.tar.gz
samba-a2d2128b8a555f3434324ccd93ff72d918825bd3.tar.bz2
samba-a2d2128b8a555f3434324ccd93ff72d918825bd3.zip
r11637: we need a session and a tcon for ntioctl() and ntrename()
metze (This used to be commit 3389544c2b14a044aed4a6d0ff966c0a2d92a61a)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index 0ec15aea56..c8d411af16 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -166,7 +166,7 @@ static const struct smb_message_struct
/* 0x24 */ { "SMBlockingX",reply_lockingX,AS_USER},
/* 0x25 */ { "SMBtrans",reply_trans,AS_USER},
/* 0x26 */ { "SMBtranss",reply_transs,AS_USER},
-/* 0x27 */ { "SMBioctl",reply_ioctl,0},
+/* 0x27 */ { "SMBioctl",reply_ioctl,AS_USER},
/* 0x28 */ { "SMBioctls",NULL,AS_USER},
/* 0x29 */ { "SMBcopy",reply_copy,AS_USER},
/* 0x2a */ { "SMBmove",NULL,AS_USER},
@@ -291,8 +291,8 @@ static const struct smb_message_struct
/* 0xa1 */ { "SMBnttranss", reply_nttranss, AS_USER},
/* 0xa2 */ { "SMBntcreateX", reply_ntcreate_and_X, AS_USER},
/* 0xa3 */ { NULL, NULL, 0 },
-/* 0xa4 */ { "SMBntcancel", reply_ntcancel, 0 },
-/* 0xa5 */ { "SMBntrename", reply_ntrename, 0 },
+/* 0xa4 */ { "SMBntcancel", reply_ntcancel, 0},
+/* 0xa5 */ { "SMBntrename", reply_ntrename, AS_USER},
/* 0xa6 */ { NULL, NULL, 0 },
/* 0xa7 */ { NULL, NULL, 0 },
/* 0xa8 */ { NULL, NULL, 0 },