summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-23 16:23:31 +0200
committerMichael Adam <obnox@samba.org>2008-07-23 18:02:44 +0200
commitdb36f37b8f324ca2a45b05800d4abfb72c566447 (patch)
tree3c7cedbf2e8bb6a958bb69754024feff4c056aff /source4/libnet
parentc71030bd04eee5f50be56ac2460393dfbe2fdd23 (diff)
downloadsamba-db36f37b8f324ca2a45b05800d4abfb72c566447.tar.gz
samba-db36f37b8f324ca2a45b05800d4abfb72c566447.tar.bz2
samba-db36f37b8f324ca2a45b05800d4abfb72c566447.zip
libnet_become_dc: send msDS_Behavior_Version == 3 (win2k8) in DsAddEntry
instead of version 2 (win2k3). This makes the NET-API-BECOME-DC test work against windows 2003 and 2008. Michael (This used to be commit a7bfa1fb1bc6fb8e412990b7ff4c3ce9bc55099d)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_become_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index 8b7fd57780..1ce067c321 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -2104,7 +2104,7 @@ static void becomeDC_drsuapi1_add_entry_send(struct libnet_BecomeDC_state *s)
vd[0] = data_blob_talloc(vd, NULL, 4);
if (composite_nomem(vd[0].data, c)) return;
- SIVAL(vd[0].data, 0, DS_BEHAVIOR_WIN2003);
+ SIVAL(vd[0].data, 0, DS_BEHAVIOR_WIN2008);
vs[0].blob = &vd[0];