summaryrefslogtreecommitdiffstats
path: root/source4/libnet/libnet_join.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-12-29 00:36:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:30:22 -0500
commit7d7d01cf4e9bbb43d9579f09751b00118a0c577b (patch)
tree8bb010770e9ebc01b2c1f27c37bb99f8ae5407cc /source4/libnet/libnet_join.c
parent11196d0907654a5dfd9d1f65573fc0e096982ea7 (diff)
downloadsamba-7d7d01cf4e9bbb43d9579f09751b00118a0c577b.tar.gz
samba-7d7d01cf4e9bbb43d9579f09751b00118a0c577b.tar.xz
samba-7d7d01cf4e9bbb43d9579f09751b00118a0c577b.zip
r20397: Another user of the DsCrackNames call needs a rename following IDL clarification.
Andrew Bartlett (This used to be commit 77169958fc42d8ea4561f6218919a34c330259d3)
Diffstat (limited to 'source4/libnet/libnet_join.c')
-rw-r--r--source4/libnet/libnet_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index a60ae47b5ff..e2c2e99d116 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -160,8 +160,8 @@ static NTSTATUS libnet_JoinADSDomain(struct libnet_context *ctx, struct libnet_J
ZERO_STRUCT(r_crack_names);
r_crack_names.in.bind_handle = &drsuapi_bind_handle;
r_crack_names.in.level = 1;
- r_crack_names.in.req.req1.unknown1 = 0x000004e4;
- r_crack_names.in.req.req1.unknown2 = 0x00000407;
+ r_crack_names.in.req.req1.codepage = 1252; /* western european */
+ r_crack_names.in.req.req1.language = 0x00000407; /* german */
r_crack_names.in.req.req1.count = 1;
r_crack_names.in.req.req1.names = names;
r_crack_names.in.req.req1.format_flags = DRSUAPI_DS_NAME_FLAG_NO_FLAGS;