diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-02 08:14:52 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-02 08:16:57 +1100 |
commit | 00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a (patch) | |
tree | 3c57915f41f31733c0d7a7d05343f3ac410a8818 /source4/rpc_server/drsuapi | |
parent | cced56736431094db14d07cfe04fd7606541c339 (diff) | |
download | samba-00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a.tar.gz samba-00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a.tar.bz2 samba-00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a.zip |
s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNs
This allows for more flags in the future
Diffstat (limited to 'source4/rpc_server/drsuapi')
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index a41d116b6a..437dc87ae8 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -256,7 +256,7 @@ static WERROR get_nc_changes_add_la(TALLOC_CTX *mem_ctx, la->identifier = get_object_identifier(*la_list, msg); W_ERROR_HAVE_NO_MEMORY(la->identifier); - active = ldb_dn_get_extended_component(dsdb_dn->dn, "DELETED")?false:true; + active = (dsdb_dn_rmd_flags(dsdb_dn->dn) & DSDB_RMD_FLAG_DELETED) == 0; la->attid = sa->attributeID_id; la->flags = active?DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE:0; |