1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4-rpc_server/drsuapi: Improve debug message for drs_ObjectIdentifier_to_dn_and_nc_root() failure

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>
This commit is contained in:
Andrew Bartlett 2023-06-27 17:18:39 +12:00
parent d0c1ce53ad
commit a12bcce89d

View File

@ -3022,6 +3022,9 @@ allowed:
&ncRoot_dn,
NULL);
if (ret != LDB_SUCCESS) {
DBG_ERR("Bad DN '%s' as Naming Context or EXOP DN for GetNCChanges: %s\n",
drs_ObjectIdentifier_to_debug_string(mem_ctx, ncRoot),
ldb_strerror(ret));
return WERR_DS_DRA_BAD_DN;
}