Lines Matching defs:serverAddr

507 	if (con->serverAddr) {
508 (void) fprintf(fp, "tid= %d: serverAddr=%s\n",
509 t, con->serverAddr);
579 * If serverAddr is NULL, then find a connection to any server
584 findConnection(int flags, const char *serverAddr,
610 if (serverAddr && *serverAddr)
611 (void) fprintf(stderr, "tid= %d: serverAddr=%s\n",
612 t, serverAddr);
614 (void) fprintf(stderr, "tid= %d: serverAddr=NULL\n", t);
630 if ((cp->usedBit) || (serverAddr && *serverAddr &&
631 (strcasecmp(serverAddr, cp->serverAddr) != 0)))
661 if (con->serverAddr)
662 free(con->serverAddr);
683 makeConnection(Connection **conp, const char *serverAddr,
708 if ((id = findConnection(flags, serverAddr, auth, &con)) != -1) {
728 if (serverAddr) {
732 * passed here through the serverAddr parameter
734 sinfo.server = strdup(serverAddr);
748 serverAddr);
761 * In case of sasl/GSSAPI, serverAddr would need
769 sinfo.server = strdup(serverAddr);
774 sinfo.serverFQDN = strdup(serverAddr);
963 con->serverAddr = sinfo.server; /* Store original format */
1342 openConnection(LDAP **ldp, const char *serverAddr, const ns_cred_t *auth,
1363 s = strchr(serverAddr, ']'); /* skip over ipv6 addr */
1364 s = strchr(s != NULL ? s : serverAddr, ':');
1375 serverAddr);
1383 serverAddr,
2034 createTLSSession(const ns_cred_t *auth, const char *serverAddr,
2082 *ldp = ldapssl_init(serverAddr, port, 1);
2214 createNonTLSSession(const char *serverAddr,
2229 is_ip = (__s_api_isipv4((char *)serverAddr) ||
2230 __s_api_isipv6((char *)serverAddr));
2238 addr = strdup(serverAddr);
2244 serverAddr = svraddr;
2255 if ((*ldp = ldap_init((char *)serverAddr, port)) == NULL) {
2270 * serverAddr - the address of a server to which a connection
2283 createSession(const ns_cred_t *auth, const char *serverAddr,
2317 return (createTLSSession(auth, serverAddr, port,
2320 return (createNonTLSSession(serverAddr, port, gssapi,