Fix for DSSYNC test against Windows 2003
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 25 Aug 2009 15:39:06 +0000 (18:39 +0300)
committerAndrew Tridgell <tridge@samba.org>
Thu, 3 Sep 2009 08:36:08 +0000 (18:36 +1000)
librpc/ndr/ndr.c

index 8188ec998fe28e4b233a8e594a1a3cae6be3f1b7..7d4a2bc09c914003afdef87baa3f6dee28108515 100644 (file)
@@ -255,6 +255,7 @@ _PUBLIC_ void ndr_print_function_debug(ndr_print_function_t fn, const char *name
        ndr->print = ndr_print_debug_helper;
        ndr->depth = 1;
        ndr->flags = 0;
+       ndr->iconv_convenience = smb_iconv_convenience_init(talloc_autofree_context(), "ASCII", "UTF-8", true);
        fn(ndr, name, flags, ptr);
        talloc_free(ndr);
 }