Lines Matching refs:server

1097 __ns_ldap_getConnectionInfoFromDUA(const ns_dir_server_t *server,  in __ns_ldap_getConnectionInfoFromDUA()  argument
1122 if (server == NULL) { in __ns_ldap_getConnectionInfoFromDUA()
1143 (void) strncpy(buffer, server->server, sizeof (buffer)); in __ns_ldap_getConnectionInfoFromDUA()
1151 if (server->port > 0) { in __ns_ldap_getConnectionInfoFromDUA()
1156 server->port); in __ns_ldap_getConnectionInfoFromDUA()
1165 if (domainname2baseDN(server->domainName ? in __ns_ldap_getConnectionInfoFromDUA()
1166 server->domainName : config_struct->domainName, in __ns_ldap_getConnectionInfoFromDUA()
1171 server->domainName ? in __ns_ldap_getConnectionInfoFromDUA()
1172 server->domainName : config_struct->domainName); in __ns_ldap_getConnectionInfoFromDUA()
1218 server->domainName ? in __ns_ldap_getConnectionInfoFromDUA()
1219 server->domainName : in __ns_ldap_getConnectionInfoFromDUA()
1226 server->domainName ? in __ns_ldap_getConnectionInfoFromDUA()
1227 server->domainName : config_struct->domainName); in __ns_ldap_getConnectionInfoFromDUA()
1244 server->profileName ? in __ns_ldap_getConnectionInfoFromDUA()
1245 server->profileName : "default", in __ns_ldap_getConnectionInfoFromDUA()
1251 server->profileName ? in __ns_ldap_getConnectionInfoFromDUA()
1252 server->profileName : "default"); in __ns_ldap_getConnectionInfoFromDUA()
1562 dir_server_t *server = (dir_server_t *)param; in create_ns_servers_entry() local
1579 *retCode = __ns_ldap_getRootDSE(server->ip, in create_ns_servers_entry()
1594 server->status = INFO_SERVER_ERROR; in create_ns_servers_entry()
1598 server->ip, in create_ns_servers_entry()
1610 server->status = INFO_SERVER_ERROR; in create_ns_servers_entry()
1614 server->ip); in create_ns_servers_entry()
1619 server->controls = (char **)calloc(CHUNK_SIZE, sizeof (char *)); in create_ns_servers_entry()
1620 server->saslMech = (char **)calloc(CHUNK_SIZE, sizeof (char *)); in create_ns_servers_entry()
1621 if (server->controls == NULL || server->saslMech == NULL) { in create_ns_servers_entry()
1637 ptr = (char **)realloc(server->saslMech, in create_ns_servers_entry()
1653 server->saslMech = ptr; in create_ns_servers_entry()
1655 server->saslMech[sm_counter] = strdup(val); in create_ns_servers_entry()
1656 if (server->saslMech[sm_counter] == NULL) { in create_ns_servers_entry()
1667 ptr = (char **)realloc(server->controls, in create_ns_servers_entry()
1683 server->controls = ptr; in create_ns_servers_entry()
1686 server->controls[sc_counter] = strdup(val); in create_ns_servers_entry()
1687 if (server->controls[sc_counter] == NULL) { in create_ns_servers_entry()
1704 server->controls[sc_counter] = NULL; in create_ns_servers_entry()
1705 server->saslMech[sm_counter] = NULL; in create_ns_servers_entry()
1707 server->status = INFO_SERVER_UP; in create_ns_servers_entry()
2027 &sa_conf->ds_profile.server, in __ns_ldap_initStandalone()
2165 dir_server_t *server = NULL; in __s_api_findRootDSE() local
2246 server = current_list->nsServers[i]; in __s_api_findRootDSE()
2299 server = current_list->nsServers[i]; in __s_api_findRootDSE()
2311 server = current_list->nsServers[i]; in __s_api_findRootDSE()
2322 if (server == NULL) { in __s_api_findRootDSE()
2335 (void) mutex_lock(&server->updateStatus); in __s_api_findRootDSE()
2336 server->info = INFO_STATUS_OLD; in __s_api_findRootDSE()
2337 (void) mutex_unlock(&server->updateStatus); in __s_api_findRootDSE()
2345 ret_code = __s_api_ip2hostname(server->ip, &ret->serverFQDN); in __s_api_findRootDSE()
2353 server->ip); in __s_api_findRootDSE()
2363 ret->server = strdup(server->ip); in __s_api_findRootDSE()
2365 ret->controls = __s_api_cp2dArray(server->controls); in __s_api_findRootDSE()
2366 ret->saslMechanisms = __s_api_cp2dArray(server->saslMech); in __s_api_findRootDSE()