s4-rpc_server/drsuapi: Remove rudundant check for valid and non-NULL ncRoot_dn
commitf8defe00366c96746290fcfe36623cba3f4d167b
authorAndrew Bartlett <abartlet@samba.org>
Tue, 27 Jun 2023 02:22:52 +0000 (27 14:22 +1200)
committerJule Anger <janger@samba.org>
Fri, 18 Aug 2023 09:17:13 +0000 (18 09:17 +0000)
treed2cea554d67b2d293af0cc37a0f14541ff9b986c
parentf23c0d54a9b07b9a184b055ad32ae6011a0fbcf0
s4-rpc_server/drsuapi: Remove rudundant check for valid and non-NULL ncRoot_dn

This check was valuable before aee2039e63ceeb5e69a0461fb77e0f18278e4dc4
but now only checks things we know to be true, as the value has come
from Samba via drs_ObjectIdentifier_to_dn_and_nc_root() either on this
or a previous call.

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 0550e469eda4022659718ae9a56f5deaa9f9a307)
source4/rpc_server/drsuapi/getncchanges.c