summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2009-08-25 18:39:06 +0300
committerAndrew Tridgell <tridge@samba.org>2009-09-03 18:36:08 +1000
commitc033b2dd2d09e3699e0756c8cc21388e383d8fd7 (patch)
treea7578671f1f0a053926ddd017ca763cab5f563f7 /librpc
parent5c54e4c103c99ec5be836cdd51469ce2558366fb (diff)
downloadsamba-c033b2dd2d09e3699e0756c8cc21388e383d8fd7.tar.gz
samba-c033b2dd2d09e3699e0756c8cc21388e383d8fd7.tar.bz2
samba-c033b2dd2d09e3699e0756c8cc21388e383d8fd7.zip
Fix for DSSYNC test against Windows 2003
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c
index 8188ec998f..7d4a2bc09c 100644
--- a/librpc/ndr/ndr.c
+++ b/librpc/ndr/ndr.c
@@ -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);
}