Lines Matching refs:serverAddr

507 	if (con->serverAddr) {  in printConnection()
509 t, con->serverAddr); in printConnection()
584 findConnection(int flags, const char *serverAddr, in findConnection() argument
610 if (serverAddr && *serverAddr) in findConnection()
612 t, serverAddr); in findConnection()
630 if ((cp->usedBit) || (serverAddr && *serverAddr && in findConnection()
631 (strcasecmp(serverAddr, cp->serverAddr) != 0))) in findConnection()
661 if (con->serverAddr) in __s_api_freeConnection()
662 free(con->serverAddr); in __s_api_freeConnection()
683 makeConnection(Connection **conp, const char *serverAddr, in makeConnection() argument
708 if ((id = findConnection(flags, serverAddr, auth, &con)) != -1) { in makeConnection()
728 if (serverAddr) { in makeConnection()
734 sinfo.server = strdup(serverAddr); in makeConnection()
748 serverAddr); in makeConnection()
769 sinfo.server = strdup(serverAddr); in makeConnection()
774 sinfo.serverFQDN = strdup(serverAddr); in makeConnection()
963 con->serverAddr = sinfo.server; /* Store original format */ in makeConnection()
1342 openConnection(LDAP **ldp, const char *serverAddr, const ns_cred_t *auth, in openConnection() argument
1363 s = strchr(serverAddr, ']'); /* skip over ipv6 addr */ in openConnection()
1364 s = strchr(s != NULL ? s : serverAddr, ':'); in openConnection()
1375 serverAddr); in openConnection()
1383 serverAddr, in openConnection()
2034 createTLSSession(const ns_cred_t *auth, const char *serverAddr, in createTLSSession() argument
2082 *ldp = ldapssl_init(serverAddr, port, 1); in createTLSSession()
2214 createNonTLSSession(const char *serverAddr, in createNonTLSSession() argument
2229 is_ip = (__s_api_isipv4((char *)serverAddr) || in createNonTLSSession()
2230 __s_api_isipv6((char *)serverAddr)); in createNonTLSSession()
2238 addr = strdup(serverAddr); in createNonTLSSession()
2244 serverAddr = svraddr; in createNonTLSSession()
2255 if ((*ldp = ldap_init((char *)serverAddr, port)) == NULL) { in createNonTLSSession()
2283 createSession(const ns_cred_t *auth, const char *serverAddr, in createSession() argument
2317 return (createTLSSession(auth, serverAddr, port, in createSession()
2320 return (createNonTLSSession(serverAddr, port, gssapi, in createSession()