Lines Matching defs:server

89 	"libsldap: unable to start the server monitor thread (%s)")
91 "libsldap: server down reported by ldap_cachemgr")
739 /* stop the server status/config-change monitor thread */
1076 * compare to see if the server and credential for authentication match
1080 is_server_cred_matched(const char *server, const ns_cred_t *cred,
1085 /* check server first */
1086 if (server != NULL && *server != 0) {
1087 if (strcasecmp(server, cp->serverAddr) != 0)
1142 * In two cases, it should be closed. If a preferred server is
1144 * Or when the server being used for the connection is found to
1170 * ask ldap_cachemgr for the first available server
1174 if (rc != NS_LDAP_SUCCESS || sinfo.server == NULL) {
1180 * Did ldap_cachemgr return a preferred server ?
1183 if (strcasecmp(sinfo.server, cmg->pservers[j]) != 0)
1190 * Is the server being used a preferred one ?
1200 * Need to fall back to a down-but-now-up preferred server ?
1201 * A preferred server falls back to a more preferred one.
1217 * 2. the server being used is down (upidx > svridx)
1218 * 3. ldap_cachemgr returned a preferred one, but the server
1219 * being used is not, so need to fall back to the preferred server
1220 * 4. ldap_cachemgr returned a non-preferred one, but the server
1268 ns_conn_mt_state_t st, const char *server,
1329 if (matched == B_TRUE && ((server != NULL || cred != NULL) &&
1330 is_server_cred_matched(server, cred, cm) == B_FALSE))
1372 * server : server name or IP address
1381 __s_api_conn_mt_get(const char *server, const int flags, const ns_cred_t *cred,
1428 rc = match_conn_mt(cu, &cn, st, server, cred);
1892 * Close an MT connection when the associated server is known to be
1931 * Close an MT connection when there is a better server to connect to.
1953 * Retrieve the configured preferred server list.
1986 * This function handles the config or server status change notification
2023 * the same server s, and close it
2048 * Process the next cm using server s.
2057 * No (more) MT connection using the down server s.
2058 * Process the next server on the list.
2066 * Get the preferred server list first if not done yet.
2073 * if no preferred server configured, we don't switch MT connection
2074 * to a more preferred server (i.e., fallback), so just return
2081 /* for each server that is up now */
2089 * a server less preferred than s, and treat it
2101 /* Is s a preferred server ? */
2111 /* skip s if not a preferred server */
2149 * in the preferred server list is
2150 * ahead of that of the server
2174 /* if no (more) cm using s, check next server */
2407 * wait and process the server status and/or config change notification
2542 /* server status changes ? */
2583 if (which == 0) { /* get server info */
2605 which = 0; /* get server info next */
2624 * start a thread to get and process config and server status changes