mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
s4-rpc_server/drsuapi: Improve debugging of invalid DNs
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 d0c1ce53ad
)
This commit is contained in:
parent
2fe39b167a
commit
251e3cd8c8
@ -2977,8 +2977,9 @@ allowed:
|
||||
* 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user