s4:libcli/ldap: ldap4_new_connection() requires a valid lp_ctx
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Apr 2024 19:01:08 +0000 (21:01 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 23:50:33 +0000 (23:50 +0000)
commit8007569e9f7d374456a3fbd172a905173462eb5f
treef15f30a41f837142a9a702c68f71c921c561de7d
parent96e4a92f192dcf0e5bd4ff4b3af9993ae864b804
s4:libcli/ldap: ldap4_new_connection() requires a valid lp_ctx

Otherwise we'll crash in a lot of places later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libcli/ldap/ldap_client.c