Fix ldap test when ldap is not enabled.

Julien Wadel
2023-11-09T10:44:42Z

https://gitlab.linphone.org/BC/public/liblinphone/-/merge_requests/2765