summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-07-12 21:09:24 +0000
committerJeremy Allison <jra@samba.org>2002-07-12 21:09:24 +0000
commite40abc248f6456a7dba3a4c4c4274c0e7b77020f (patch)
treeb3083bd7125a52cf903998b5dbefe9f9e183c611 /source3/lib
parent8ba2c4e55d783587a5a6064dc2d48e4deff16fd3 (diff)
downloadsamba-e40abc248f6456a7dba3a4c4c4274c0e7b77020f.tar.gz
samba-e40abc248f6456a7dba3a4c4c4274c0e7b77020f.tar.bz2
samba-e40abc248f6456a7dba3a4c4c4274c0e7b77020f.zip
The changes in make_sec_desc to make us match W2K broke the marshalling/unmarshalling of
security descriptors. We need to calculate the maximum offset and set the offset back after reading/writing every field in the SEC_DESC. This was *nasty* to find.... Jeremy. (This used to be commit 175d43980e57c25582d8ab859f5730283e82f3b2)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index a6db286134..d42dc994b0 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -143,7 +143,7 @@ size_t convert_string(charset_t from, charset_t to,
switch(errno)
{ case EINVAL: reason="Incomplete multibyte sequence"; break;
case E2BIG: reason="No more room";
- DEBUG(0, ("Required %d, available %d\n",
+ DEBUG(0, ("convert_string: Required %d, available %d\n",
srclen, destlen));
/* we are not sure we need srclen bytes,
may be more, may be less.