[SCM] Samba Shared Repository - branch v3-6-test updated
Jeremy Allison
jra at samba.org
Mon Mar 14 11:37:50 MDT 2011
The branch, v3-6-test has been updated
via 5b00811 s3: Fix bug 8009 - net rap session cannot get username
from 557ac22 s3: Enhance error messages in idmap_tdb2_init_hwm
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit 5b008119c3b7b995bc401c589ff68ad3deb3721b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 14 10:35:23 2011 -0700
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.
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/clirap2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c
index a088397..20efca3 100644
--- a/source3/libsmb/clirap2.c
+++ b/source3/libsmb/clirap2.c
@@ -212,7 +212,7 @@ static size_t rap_getstringp(TALLOC_CTX *ctx, char *p, char **dest, char *r, uin
}
}
pull_string_talloc(ctx,src,0,dest,src,len,STR_ASCII);
- return len;
+ return 4;
}
static char *make_header(char *param, uint16 apinum, const char *reqfmt, const char *datafmt)
--
Samba Shared Repository
More information about the samba-cvs
mailing list