diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-06-10 10:11:01 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-06-10 03:26:21 +0200 |
commit | 73cbcd9c99e89cc24de84cdb098693d96dd6419d (patch) | |
tree | 6eb8904021c8065210803639d9b94fbe714294b7 /source4 | |
parent | 56d09d5904e036ae9cf483b7be202956aae998b3 (diff) | |
download | samba-73cbcd9c99e89cc24de84cdb098693d96dd6419d.tar.gz samba-73cbcd9c99e89cc24de84cdb098693d96dd6419d.tar.bz2 samba-73cbcd9c99e89cc24de84cdb098693d96dd6419d.zip |
s4-drs: added debug lines for missing linked attribute fields
this improved the logging of bugs related to linked attribute
replication
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Jun 10 03:26:21 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 72f954d2b2..c57fec2049 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -362,18 +362,26 @@ static WERROR get_nc_changes_add_la(TALLOC_CTX *mem_ctx, status = dsdb_get_extended_dn_uint32(dsdb_dn->dn, &la->meta_data.version, "RMD_VERSION"); if (!NT_STATUS_IS_OK(status)) { + DEBUG(0,(__location__ " No RMD_VERSION in linked attribute '%s' in '%s'\n", + sa->lDAPDisplayName, ldb_dn_get_linearized(msg->dn))); return ntstatus_to_werror(status); } status = dsdb_get_extended_dn_nttime(dsdb_dn->dn, &la->meta_data.originating_change_time, "RMD_CHANGETIME"); if (!NT_STATUS_IS_OK(status)) { + DEBUG(0,(__location__ " No RMD_CHANGETIME in linked attribute '%s' in '%s'\n", + sa->lDAPDisplayName, ldb_dn_get_linearized(msg->dn))); return ntstatus_to_werror(status); } status = dsdb_get_extended_dn_guid(dsdb_dn->dn, &la->meta_data.originating_invocation_id, "RMD_INVOCID"); if (!NT_STATUS_IS_OK(status)) { + DEBUG(0,(__location__ " No RMD_INVOCID in linked attribute '%s' in '%s'\n", + sa->lDAPDisplayName, ldb_dn_get_linearized(msg->dn))); return ntstatus_to_werror(status); } status = dsdb_get_extended_dn_uint64(dsdb_dn->dn, &la->meta_data.originating_usn, "RMD_ORIGINATING_USN"); if (!NT_STATUS_IS_OK(status)) { + DEBUG(0,(__location__ " No RMD_ORIGINATING_USN in linked attribute '%s' in '%s'\n", + sa->lDAPDisplayName, ldb_dn_get_linearized(msg->dn))); return ntstatus_to_werror(status); } |