s4-rpc_server/drsuapi: Avoid modification to ncRoot input variable in GetNCChanges
commit548f141f11e89d335d8f9d74ab6925fa6b90fb84
authorAndrew Bartlett <abartlet@samba.org>
Tue, 27 Jun 2023 02:39:18 +0000 (27 14:39 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 13 Aug 2023 21:59:29 +0000 (13 21:59 +0000)
tree1e0bef90f41107adc2c7720599e3339f9745a04d
parentfe7418e1765b79f60945b787536b4d84a548fe02
s4-rpc_server/drsuapi: Avoid modification to ncRoot input variable in GetNCChanges

This tries to avoid it appearing that ncRoot is a value that can
be trusted and used internally by not updating it and instead leaving
it just as an input/echo-back value.

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