Skip to content

winbindd can crash because idmap child state is not fully initialized

This is a fix for a crash that happens at winbindd startup when winbind services a request and the idmap child state is not fully initialized yet.

The problem is in wb_queryuser_got_domain() we call idmap_child_handle() assuming it is already initialized via wb_sids2xids_send() -> wb_parent_idmap_setup_send().

Unfortunately in wb_sids2xids_send() we skip the call to wb_parent_idmap_setup_send() if all sids are in the cache...

The bugreport contains an SBT.

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

Edited by Ralph Böhme

Merge request reports

Loading