summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-16 13:02:43 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-16 16:08:46 +1000
commit377ffcb0292505bfcdc6fbcfdc379614364cc868 (patch)
tree3b962990d39f2be8e278e75a8a3d0887160e974b /source4
parente5cd023a41ce4b8a51bbace4da395a7f0843d212 (diff)
downloadsamba-377ffcb0292505bfcdc6fbcfdc379614364cc868.tar.gz
samba-377ffcb0292505bfcdc6fbcfdc379614364cc868.tar.bz2
samba-377ffcb0292505bfcdc6fbcfdc379614364cc868.zip
s4-drs: make debugging DsUpdateRefs a bit easier
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/drsuapi/updaterefs.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/updaterefs.c b/source4/rpc_server/drsuapi/updaterefs.c
index 8efdfbbdbb..a41eec89b4 100644
--- a/source4/rpc_server/drsuapi/updaterefs.c
+++ b/source4/rpc_server/drsuapi/updaterefs.c
@@ -25,6 +25,7 @@
#include "rpc_server/drsuapi/dcesrv_drsuapi.h"
#include "libcli/security/security.h"
#include "auth/session.h"
+#include "librpc/gen_ndr/ndr_drsuapi.h"
struct repsTo {
uint32_t count;
@@ -229,5 +230,11 @@ WERROR dcesrv_drsuapi_DsReplicaUpdateRefs(struct dcesrv_call_state *dce_call, TA
}
}
- return drsuapi_UpdateRefs(b_state, mem_ctx, req);
+ werr = drsuapi_UpdateRefs(b_state, mem_ctx, req);
+
+#if 0
+ NDR_PRINT_FUNCTION_DEBUG(drsuapi_DsReplicaUpdateRefs, NDR_BOTH, r);
+#endif
+
+ return werr;
}