summaryrefslogtreecommitdiff
path: root/source4/rpc_server/drsuapi
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-01-11 20:05:39 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-05-17 04:17:14 +0200
commit3f3576d64275dbf4964458dab39252ae4da9ba06 (patch)
tree1b8cc6a92ee624ebb1fd0d6fd14d1b5e02603c74 /source4/rpc_server/drsuapi
parent1a7bd5e12c519f8d14120f21198038dae1e5c914 (diff)
downloadsamba-3f3576d64275dbf4964458dab39252ae4da9ba06.tar.gz
samba-3f3576d64275dbf4964458dab39252ae4da9ba06.tar.bz2
samba-3f3576d64275dbf4964458dab39252ae4da9ba06.zip
drsuapi: Debug more clearly why NC is bad in updateRefs
Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri May 17 04:17:14 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server/drsuapi')
-rw-r--r--source4/rpc_server/drsuapi/updaterefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/updaterefs.c b/source4/rpc_server/drsuapi/updaterefs.c
index b7a0b44277..14bd3f64c2 100644
--- a/source4/rpc_server/drsuapi/updaterefs.c
+++ b/source4/rpc_server/drsuapi/updaterefs.c
@@ -172,9 +172,11 @@ WERROR drsuapi_UpdateRefs(struct drsuapi_bind_state *b_state, TALLOC_CTX *mem_ct
W_ERROR_HAVE_NO_MEMORY(dn);
ret = dsdb_find_nc_root(sam_ctx, dn, dn, &nc_root);
if (ret != LDB_SUCCESS) {
+ DEBUG(2, ("Didn't find a nc for %s\n", ldb_dn_get_linearized(dn)));
return WERR_DS_DRA_BAD_NC;
}
if (ldb_dn_compare(dn, nc_root) != 0) {
+ DEBUG(2, ("dn %s is not equal to %s\n", ldb_dn_get_linearized(dn), ldb_dn_get_linearized(nc_root)));
return WERR_DS_DRA_BAD_NC;
}