summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-10 13:51:08 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-10 13:51:08 +1000
commit0c0323225948c33152357bf4202f17fc53aeccf4 (patch)
tree8d7fb0cc1fa4bf4e22c1ec5ce66e7bd32029a81b /source4
parent78a5a5e665022c6625b18e2e99090f26e4edd2e9 (diff)
downloadsamba-0c0323225948c33152357bf4202f17fc53aeccf4.tar.gz
samba-0c0323225948c33152357bf4202f17fc53aeccf4.tar.bz2
samba-0c0323225948c33152357bf4202f17fc53aeccf4.zip
s4/drs: correctly fill in the GUID of DRS objects
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 6e65e3185b..17bc3ca89e 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -86,7 +86,7 @@ static WERROR get_nc_changes_build_object(struct drsuapi_DsReplicaObjectListItem
obj->object.identifier = talloc(obj, struct drsuapi_DsReplicaObjectIdentifier);
obj_dn = ldb_msg_find_attr_as_dn(sam_ctx, obj, msg, "distinguishedName");
obj->object.identifier->dn = ldb_dn_get_linearized(obj_dn);
- obj->object.identifier->guid = GUID_zero();
+ obj->object.identifier->guid = samdb_result_guid(msg, "objectGUID");
ZERO_STRUCT(obj->object.identifier->sid);
obj->object.attribute_ctr.num_attributes = obj->meta_data_ctr->count;