diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-23 11:33:19 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-23 15:55:39 +1000 |
commit | 635c41ab822d12cf3bb8172fdfab28c6c8ac3597 (patch) | |
tree | f5e8c5b07ec3a3a998be678c18be9cd14de03235 | |
parent | 826177bd2427a6fdf32c2466040de73a7f286d35 (diff) | |
download | samba-635c41ab822d12cf3bb8172fdfab28c6c8ac3597.tar.gz samba-635c41ab822d12cf3bb8172fdfab28c6c8ac3597.tar.bz2 samba-635c41ab822d12cf3bb8172fdfab28c6c8ac3597.zip |
s4-drs: show the user sid that does the GetNCChanges call
this is useful when debugging replication
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 85522d0b05..7eb5ee0d98 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -1366,13 +1366,14 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_ } DEBUG(r->out.ctr->ctr6.more_data?2:1, - ("DsGetNCChanges with uSNChanged >= %llu flags 0x%08x on %s gave %u objects (done %u/%u) %u links (done %u/%u)\n", + ("DsGetNCChanges with uSNChanged >= %llu flags 0x%08x on %s gave %u objects (done %u/%u) %u links (done %u/%u (as %s))\n", (unsigned long long)(req8->highwatermark.highest_usn+1), req8->replica_flags, ncRoot->dn, r->out.ctr->ctr6.object_count, i, r->out.ctr->ctr6.more_data?getnc_state->site_res->count:i, r->out.ctr->ctr6.linked_attributes_count, - link_given, link_total)); + link_given, link_total, + dom_sid_string(mem_ctx, user_sid))); #if 0 if (!r->out.ctr->ctr6.more_data && req8->extended_op != DRSUAPI_EXOP_NONE) { |