Keep trying LDAP servers until we get full results from one, rather than
authorjmatthew <jmatthew@openbsd.org>
Mon, 22 May 2023 05:59:05 +0000 (05:59 +0000)
committerjmatthew <jmatthew@openbsd.org>
Mon, 22 May 2023 05:59:05 +0000 (05:59 +0000)
commit34d9787b7f8e3f26988b9113e02b229eb8476997
treea76dab86d9227af71dfc0fe9cbec8f13154e444c
parent756bbf6355e0781492e4d9e84a42e724369e16d4
Keep trying LDAP servers until we get full results from one, rather than
just until one accepts the TCP connection. In multi server environments,
this makes ypldap more resilient when some servers are misbehaving.

While here, add the server address to log messages relating to connection
errors to make it easier to identify which server is failing.

ok tb@
usr.sbin/ypldap/ldapclient.c