s3: Fix bug 8009 - net rap session cannot get username
authorVolker Lendecke <vl@samba.org>
Mon, 14 Mar 2011 17:35:23 +0000 (10:35 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:55:57 +0000 (12:55 +0200)
commit2a87791c4c4014f938d197a7b5e9237b83a20423
treea8de0057f10b25184a8f63505cf1aa71d16c9a97
parent4b7682a0b1a0a4852d1a131d31d5651ff8b6bdee
s3: Fix bug 8009 - net rap session cannot get username

Looking in [MS-RAP].pdf - these strings are always 4 bytes as an
offset in the rparam area, the string length is the size in the rdata area.
Se we must always return we have consumed 4 param bytes.
(cherry picked from commit dd2e6fde0ab2e929b108c22244aac746e036a22c)
source3/libsmb/clirap2.c