idmap_hash: remember new domain sids in idmap_hash_sid_to_id()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Mar 2019 15:54:31 +0000 (16:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Oct 2019 07:36:38 +0000 (09:36 +0200)
commit5444755f06e5a6bc7ba9e411c53402e12293a233
treea3608a3676960095b8ffb4c71c669c7c8d3ebb61
parented14fcdbf7f725fc3f87051e72d3956cbeb23947
idmap_hash: remember new domain sids in idmap_hash_sid_to_id()

This is similar to the checks in idmap_autorid_sid_to_id()
to check if a new mapping should be created.

This change means that idmap_hash_id_to_sid() can return mappings
for new domains learned in idmap_hash_sid_to_id().

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