mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
f8a30d3167
Trying to use bstate->sam_ctx_system by mistake can cause crashes if non-admin users replicate. To avoid this problem we use the sam_ctx variable, however it wasn't used consistently everywhere. Replace the remaining references to b_state->sam_ctx to avoid potential confusion. This change was made based on review feedback from Metze. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>