URL: https://github.com/SSSD/sssd/pull/233 Title: #233: SDAP: Fix handling of search bases
jhrozek commented: """ nack, I'm getting a valgrind error with this patch: ``` ==31975== Conditional jump or move depends on uninitialised value(s) ==31975== at 0xDB1543E: ad_set_search_bases (ad_common.c:1153) ==31975== by 0xDAF65FA: ipa_ad_ctx_new (ipa_subdomains_server.c:335) ==31975== by 0xDAF8417: ipa_server_create_trusts_ctx (ipa_subdomains_server.c:946) ==31975== by 0xDAF8343: ipa_server_create_trusts_done (ipa_subdomains_server.c:919) ==31975== by 0xDAF8005: ipa_server_trust_1way_kt_done (ipa_subdomains_server.c:810) ==31975== by 0xDAF6F5E: ipa_getkeytab_done (ipa_subdomains_server.c:537) ==31975== by 0x73E333D: child_invoke_callback (child_common.c:604) ==31975== by 0x9247703: tevent_common_loop_immediate (in /usr/lib64/libtevent.so.0.9.31) ==31975== by 0x924C98C: ??? (in /usr/lib64/libtevent.so.0.9.31) ==31975== by 0x924AF76: ??? (in /usr/lib64/libtevent.so.0.9.31) ==31975== by 0x9246D3C: _tevent_loop_once (in /usr/lib64/libtevent.so.0.9.31) ==31975== by 0x9246F6A: tevent_common_loop_wait (in /usr/lib64/libtevent.so.0.9.31) ==31975== ```
You need to initialize `default_search_base`... """
See the full comment at https://github.com/SSSD/sssd/pull/233#issuecomment-295786534