This is still unreachable, so but improve the logging
to give more detail in this area anyway.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15401
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
d0c1ce53add2fd3b3a4186581f4e214029cbcf1a)
* This can't fail as we have done this above
* implicitly but not got the DN out
*/
- DBG_ERR("Bad DN '%s'\n",
- drs_ObjectIdentifier_to_debug_string(mem_ctx, ncRoot));
+ DBG_ERR("Bad DN '%s' as Naming Context for GetNCChanges: %s\n",
+ drs_ObjectIdentifier_to_debug_string(mem_ctx, ncRoot),
+ ldb_strerror(ret));
return WERR_DS_DRA_INVALID_PARAMETER;
}
if (ldb_dn_compare(new_dn, getnc_state->ncRoot_dn) != 0) {