idmap_hash: we don't need to call idmap_hash_initialize() over an over again
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Mar 2019 09:54:49 +0000 (10:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 10 Mar 2023 10:38:37 +0000 (10:38 +0000)
commit0da13ab3ad7278eafdcd988f39e891242eb46d37
treeabd15afbb5f9d871936c79024626b85f82f0491f
parent2cfcff3101fce94b365eccde114432dfa980bbd0
idmap_hash: we don't need to call idmap_hash_initialize() over an over again

It's always the first function that's called from idmap_methods.

This also demonstrates that we currently always return NT_STATUS_OK,
even if we haven't mapped all map entries.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15319

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/idmap_hash/idmap_hash.c