/sssd/src/tests/intg/ |
H A D | ds.py | 26 def __init__(self, dir, port, base_dn, admin_rdn, admin_pw): 33 port TCP port on localhost to bind the server to. 39 self.port = port 40 self.ldap_url = "ldap://localhost:" + str(self.port)
|
H A D | ds_openldap.py | 45 def __init__(self, dir, port, base_dn, admin_rdn, admin_pw): 52 port TCP port on localhost to bind the server to. 57 DS.__init__(self, dir, port, base_dn, admin_rdn, admin_pw)
|
/sssd/src/db/ |
H A D | sysdb_services.h | 60 int port, 72 int port, 88 int port, 96 int port,
|
H A D | sysdb_services.c | 32 int port, 105 int port, 118 if (port <= 0) { 136 (unsigned int) port); 165 int port, 197 /* Check that the port is unique 198 * If the port appears for any service other than 204 ret = sysdb_getservbyport(tmp_ctx, domain, port, NULL, &res); 210 * the same port. This is corrupted. We'll delete 244 * claiming ownership of this port 103 sysdb_getservbyport(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, int port, const char *proto, struct ldb_result **_res) argument 163 sysdb_store_service(struct sss_domain_info *domain, const char *primary_name, int port, const char **aliases, const char **protocols, struct sysdb_attrs *extra_attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument 432 sysdb_svc_add(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *primary_name, int port, const char **aliases, const char **protocols, struct ldb_dn **dn) argument 528 sysdb_svc_update(struct sysdb_ctx *sysdb, struct ldb_dn *dn, int port, const char **aliases, const char **protocols) argument 642 sysdb_svc_delete(struct sss_domain_info *domain, const char *name, int port, const char *proto) argument [all...] |
/sssd/src/krb5_plugin/ |
H A D | sssd_krb5_locator_plugin.c | 93 long port; local 153 port = 0; 160 port = strtol(port_str, &endptr, 10); 165 port = 0; 168 PLUGIN_DEBUG(("Found additional characters [%s] in port number " 170 port = 0; 173 if (port < 0 || port > 65535) { 174 PLUGIN_DEBUG(("Illegal port number [%ld], assuming default.\n", 175 port)); 269 uint16_t port = 0; local [all...] |
/sssd/src/resolv/ |
H A D | async_resolv.h | 130 int port, int addrindex); 132 #define resolv_get_sockaddr_address(mem_ctx, rhostent, port) \ 133 resolv_get_sockaddr_address_index(mem_ctx, rhostent, port, 0)
|
/sssd/src/responder/common/ |
H A D | negcache.h | 53 uint16_t port, 78 uint16_t port, const char *proto);
|
H A D | negcache.c | 355 uint16_t port, const char *proto) 359 port, 372 uint16_t port, 377 port, 353 sss_ncache_set_service_port(struct sss_nc_ctx *ctx, bool permanent, struct sss_domain_info *dom, uint16_t port, const char *proto) argument 370 sss_ncache_check_service_port(struct sss_nc_ctx *ctx, struct sss_domain_info *dom, uint16_t port, const char *proto) argument
|
/sssd/src/tests/ |
H A D | fail_over-tests.c | 55 int port; member in struct:task 148 int port; local 166 port = fo_get_server_port(server); 167 fail_if(port != task->port, "%s: Expected port %d, got %d", task->location, 168 task->port, port); 211 task->port = expected_port;
|
/sssd/src/responder/nss/ |
H A D | nsssrv_services.c | 35 uint16_t port; member in struct:getserv_ctx 75 uint16_t port, 115 state->port = port; 214 } else { /* Looking up by port */ 216 ret = sss_ncache_check_service_port(nctx->rctx->ncache, dom, port, 223 port, 245 port, 249 ret = sysdb_getservbyport(state, dom, port, 280 state->port, 73 getserv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, uint16_t port, const char *service_name, const char *service_protocol, struct nss_dom_ctx *dctx) argument 602 uint16_t port; local 1045 uint16_t c, port; local 1116 uint16_t port; local [all...] |
/sssd/src/providers/ |
H A D | fail_over.c | 89 int port; member in struct:fo_server 181 return "unknown port status"; 376 "Port status of port %d for server '%s' is '%s'\n", server->port, 384 "Reseting the status of port %d for server '%s'\n", 385 server->port, SERVER_NAME(server)); 543 fo_server_alloc(struct fo_service *service, int port, argument 568 server->port = port; 653 int port, voi 652 create_fo_server(struct fo_service *service, const char *name, int port, void *user_data, bool primary) argument 698 fo_server_match(struct fo_server *server, const char *name, int port, void *user_data) argument 740 fo_server_exists(struct fo_server *list, const char *name, int port, void *user_data) argument 838 fo_add_server(struct fo_service *service, const char *name, int port, void *user_data, bool primary) argument [all...] |
H A D | fail_over_srv.h | 33 int port; member in struct:fo_server_info
|
H A D | fail_over.h | 43 PORT_NEUTRAL, /* We didn't try this port yet. */ 44 PORT_WORKING, /* This port was reported to work. */ 45 PORT_NOT_WORKING /* This port was reported to not work. */ 64 * duration in seconds of how long a server or port will be considered 124 * Adds a server 'name' to the 'service'. Port 'port' will be used for 128 const char *name, int port, 172 * Set feedback about the port status. This function should be used when
|
H A D | backend.h | 178 const char *server, int port, void *user_data,
|
/sssd/src/tests/cmocka/ |
H A D | test_resolv_fake.c | 46 uint16_t port; member in struct:srv_rrdata 150 NS_PUT16(rr->port, a); 281 assert_int_equal(srv_replies->port, 389); 288 assert_int_equal(srv_replies->port, 389); 313 rr[0].port = 389; 319 rr[1].port = 389;
|
H A D | test_fo_srv.c | 306 int port, 310 assert_int_equal(fo_get_server_port(srv), port); local 329 int weight, int priority, int port) 346 s->port = port; 304 check_server(struct test_fo_ctx *ctx, struct fo_server *srv, int port, const char *name) argument 328 mock_ares_reply(TALLOC_CTX *mem_ctx, const char *hostname, int weight, int priority, int port) argument
|
/sssd/src/providers/proxy/ |
H A D | proxy_services.c | 162 uint16_t port; local 175 port = htons(strtouint16(be_filter, NULL, 0)); 181 status = ctx->ops.getservbyport_r(port, protocol, result, 191 ret = sysdb_svc_delete(dom, NULL, port, protocol);
|
H A D | proxy.h | 81 enum nss_status (*getservbyport_r)(int port, const char *protocol,
|
/sssd/src/responder/secrets/ |
H A D | proxy.c | 167 #define REQ_HAS_PORT(secreq) ((secreq)->parsed_url.port != 0) 173 #define SECREQ_HAS_PORT(secreq) ((secreq)->parsed_url.port != 0) 174 #define SECREQ_PORT(secreq) ((secreq)->parsed_url.port) 183 char port[6] = { 0 }; local 189 ret = snprintf(port, 6, "%d", SECREQ_PORT(secreq)); 205 SECREQ_HAS_PORT(secreq) ? port : "", 341 int port; member in struct:proxy_http_req_state 381 /* STEP1: reparse URL to get hostname and port */ 405 state->port = parsed.port; [all...] |
H A D | secsrv_private.h | 63 int port; member in struct:sec_url
|
H A D | secsrv_cmd.c | 365 req->parsed_url.port = parsed.port; 366 DEBUG(SSSDBG_TRACE_INTERNAL, "port: %d\n", req->parsed_url.port);
|
/sssd/src/providers/ldap/ |
H A D | ldap_id_services.c | 219 uint16_t port; local 266 port = strtouint16(state->name, NULL, 10); 272 ret = sysdb_svc_delete(state->domain, NULL, port,
|
H A D | sdap_async_services.c | 359 uint16_t port; local 400 /* Get the port number */ 401 ret = sysdb_attrs_get_uint16_t(attrs, SYSDB_SVC_PORT, &port); 404 "Failed to identify service port: [%s]\n", 409 /* Get the protocols this service offers on that port */ 477 ret = sysdb_store_service(dom, name, port, aliases, store_protocols,
|
/sssd/src/providers/krb5/ |
H A D | krb5_common.c | 586 long port; local 630 /* Do not try to get port number if last character is ']' */ 638 port = 0; 644 port = strtol(port_str, &endptr, 10); 652 DEBUG(SSSDBG_CRIT_FAILURE, "Found additional characters [%s] in port number " 658 if (port < 1 || port > 65535) { 659 DEBUG(SSSDBG_CRIT_FAILURE, "Illegal port number [%ld].\n", port); 672 port [all...] |
/sssd/src/sss_client/ |
H A D | nss_services.c | 56 * 0-3: 16-bit port number in network byte order 67 * 0-3: 32-bit unsigned port number in network byte order 100 /* Get the port */ 264 _nss_sss_getservbyport_r(int port, const char *protocol, argument 298 SAFEALIGN_SET_UINT16(data, port, &p);
|