]> git.ipfire.org Git - thirdparty/samba.git/commit
s4-rpc_server/drsuapi: Remove rudundant check for valid and non-NULL ncRoot_dn
authorAndrew Bartlett <abartlet@samba.org>
Tue, 27 Jun 2023 02:22:52 +0000 (14:22 +1200)
committerJule Anger <janger@samba.org>
Mon, 21 Aug 2023 08:11:11 +0000 (08:11 +0000)
commit958ae0038d62fbee811e425f2b8ea6f33ff8ee38
tree15131d60d73cca37fd8ae139f7ea436ff883a4d5
parent2eae9fa21831f0ef2e3e8962c6abefd7a15f4fe2
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