Complete the fix for bug 6100
commit224364d6c9eaa4d07b57cdef04ac17acb416e413
authorVolker Lendecke <vl@samba.org>
Thu, 5 Mar 2009 21:20:55 +0000 (5 22:20 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 5 Mar 2009 21:20:55 +0000 (5 22:20 +0100)
tree656e388fee0c64019b6b6a998b154e9bd30b2722
parent2cc696192fbc66b10fa6377d84cdebd23a045284
Complete the fix for bug 6100

According to [MS-RPCE].pdf, section 2.2.2.11:

----
A client or a server that (during composing of a PDU) has allocated more space
for the authentication token than the security provider fills in SHOULD fill in
the rest of the allocated space with zero octets. These zero octets are still
considered to belong to the authentication token part of the PDU.<36>
----

RPC implementations are allowed to send padding bytes at the end of an auth
footer. Windows 7 makes use of this.

Thanks to Nick Meier <nmeier@microsoft.com>

Volker
source/rpc_server/srv_pipe.c