On 4/13/2023 11:33 PM, Bastian Tweddell wrote:
In the end the message 'Can't contact LDAP server' is correct, but is not very helpful to pinpoint the issue. My practical approach is to use `-d -1` on the ldap commands.

Thanks - and for me personally that's helpful, but what I need is something that my application can call, to retrieve and display error information in its user interface.  I used ldapsearch as an example because everybody knows it and one would hope that it would demonstrate best practices, but my actual application does not offer shell access and does not expect that the user would know how to formulate an LDAP query.
-- 
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris