diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-12 16:43:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-12 16:43:01 +0000 |
commit | a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f (patch) | |
tree | 4e4346e5f88f9cfec5350107edbd907ab5a74c35 /source/rpc_server | |
parent | 46b12f2275dcd4b3114085160cd456441f9e921e (diff) | |
download | samba-a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f.tar.gz samba-a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f.tar.xz samba-a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f.zip |
Looks like AS/U doesn't set the FIRST flag in a BIND packet.
Jeremy.
Diffstat (limited to 'source/rpc_server')
-rw-r--r-- | source/rpc_server/srv_pipe_hnd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/rpc_server/srv_pipe_hnd.c b/source/rpc_server/srv_pipe_hnd.c index 8846761316e..3049c3adb9b 100644 --- a/source/rpc_server/srv_pipe_hnd.c +++ b/source/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. |