[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Thu Sep 26 22:06:02 CEST 2013

The branch, master has been updated
       via  89200c2 dsdb: Convert the full string from UTF16 to UTF8, including embedded NULLs
      from  fc486d8 s4-openldap: Restored openldap-related options to the provision script


- Log -----------------------------------------------------------------
commit 89200c227f36a063612eb38927ac8dee18e044d5
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Sep 24 10:18:36 2013 -0700

    dsdb: Convert the full string from UTF16 to UTF8, including embedded NULLs
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=8077
    Note that this doesn't fix the userParameters problem
    completely, but it doesn't truncate the userParameters value
    Signed-off-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Thu Sep 26 22:05:12 CEST 2013 on sn-devel-104


Summary of changes:
 source4/dsdb/schema/schema_syntax.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Changeset truncated at 500 lines:

diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index f7176cd..c2e0208 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -1529,7 +1529,7 @@ static WERROR dsdb_syntax_UNICODE_drsuapi_to_ldb(const struct dsdb_syntax_ctx *c
 			return WERR_FOOBAR;
-		out->values[i] = data_blob_string_const(str);
+		out->values[i] = data_blob_const(str, converted_size);
 	return WERR_OK;

Samba Shared Repository

More information about the samba-cvs mailing list