git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b840dce
)
Looks like AS/U doesn't set the FIRST flag in a BIND packet.
author
Jeremy Allison
<jra@samba.org>
Mon, 12 Mar 2001 16:43:01 +0000
(16:43 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 12 Mar 2001 16:43:01 +0000
(16:43 +0000)
Jeremy.
(This used to be commit
a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f
)
source3/rpc_server/srv_pipe_hnd.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_pipe_hnd.c
b/source3/rpc_server/srv_pipe_hnd.c
index 8846761316e237961643ade9f1e56ec4350517f4..3049c3adb9ba6b6369d3d9471caeee8040da706d 100644
(file)
--- a/
source3/rpc_server/srv_pipe_hnd.c
+++ b/
source3/rpc_server/srv_pipe_hnd.c
@@
-327,7
+327,11
@@
static ssize_t unmarshall_rpc_header(pipes_struct *p)
if(prs_offset(&p->in_data.data) == 0) {
- if (!(p->hdr.flags & RPC_FLG_FIRST)) {
+ /*
+ * AS/U doesn't set FIRST flag in a BIND packet it seems.
+ */
+
+ if ((p->hdr.pkt_type == RPC_REQUEST) && !(p->hdr.flags & RPC_FLG_FIRST)) {
/*
* Ensure that the FIRST flag is set. If not then we have
* a stream missmatch.