[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_back_db_config (ITS#3399)



Patch works great.

with
uri             "ldap://172.20.1.92:389 ldap://172.20.1.249:389";

loaded both
line 30 (uri    "ldap://172.20.1.92:389 ldap://172.20.1.249:389";)
ldap_url_parse_ext(ldap://172.20.1.249:389)
ldap_url_parse_ext(ldap://172.20.1.92:389)

ldap tried both
 -purposely took down first one to test. back-ldap tried the first one
and failed, then tried the second one and was successful

ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP 172.20.1.92:389
ldap_new_socket: 10
ldap_prepare_socket: 10
ldap_connect_to_host: Trying 172.20.1.92:389
ldap_connect_timeout: fd: 10 tm: -1 async: 0
ldap_ndelay_on: 10
daemon: select: listen=8 active_threads=0 tvp=NULL
ldap_is_sock_ready: 10
ldap_is_socket_ready: error on socket 10: errno: 61 (Connection refused)
ldap_close_socket: 10
ldap_int_open_connection
ldap_connect_to_host: TCP 172.20.1.249:389
ldap_new_socket: 10
ldap_prepare_socket: 10
ldap_connect_to_host: Trying 172.20.1.249:389
ldap_connect_timeout: fd: 10 tm: -1 async: 0
ldap_ndelay_on: 10
ldap_is_sock_ready: 10
ldap_ndelay_off: 10
ldap_open_defconn: successful
ldap_send_server_request

My queries were successfully returned.

Looks Good!  Thanks.

-Dusty Doris