summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-08 11:50:14 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-08 11:52:45 +1000
commit9a3db7e331098292d5c2e724127c63f5583e5c74 (patch)
tree5639b84cc9a062af5605c8fb2a41a7ee491aa361
parent91805627c9b845cfb47d2d8af9535b2929f093f5 (diff)
downloadsamba-9a3db7e331098292d5c2e724127c63f5583e5c74.tar.gz
samba-9a3db7e331098292d5c2e724127c63f5583e5c74.tar.bz2
samba-9a3db7e331098292d5c2e724127c63f5583e5c74.zip
s4: fixed updaterefs options bitmap
-rw-r--r--librpc/idl/drsuapi.idl5
-rw-r--r--source4/libnet/libnet_become_dc.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
index 6ca870a159..037d2a9b46 100644
--- a/librpc/idl/drsuapi.idl
+++ b/librpc/idl/drsuapi.idl
@@ -709,12 +709,13 @@ interface drsuapi
/*****************/
/* Function 0x04 */
+ /* [MS-DRSR] 4.1.26 */
typedef bitmap {
DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION = 0x00000001,
- DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE = 0x00000002,
+ DRSUAPI_DS_REPLICA_UPDATE_GETCHG_CHECK = 0x00000002,
DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE = 0x00000004,
DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE = 0x00000008,
- DRSUAPI_DS_REPLICA_UPDATE_0x00000010 = 0x00000010
+ DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE = 0x00000010
} drsuapi_DsReplicaUpdateRefsOptions;
typedef struct {
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index b89e238a1c..2d35b40cfa 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -2768,7 +2768,7 @@ static void becomeDC_drsuapi_update_refs_send(struct libnet_BecomeDC_state *s,
r->in.req.req1.dest_dsa_guid = s->dest_dsa.ntds_guid;
r->in.req.req1.options = DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE
| DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE
- | DRSUAPI_DS_REPLICA_UPDATE_0x00000010;
+ | DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE;
req = dcerpc_drsuapi_DsReplicaUpdateRefs_send(drsuapi->pipe, r, r);
composite_continue_rpc(c, req, recv_fn, s);