/sssd/src/providers/ipa/ |
H A D | ipa_srv.c | 34 const char *hostname; member in struct:ipa_srv_plugin_ctx 41 const char *hostname, 53 ctx->hostname = talloc_strdup(ctx, hostname); 54 if (ctx->hostname == NULL) { 82 * _locations.hostname.discovery_domain for primary servers and 124 if (strchr(ctx->hostname, '.') == NULL) { 127 ctx->hostname, backup_domain); 130 ctx->hostname); 39 ipa_srv_plugin_ctx_init(TALLOC_CTX *mem_ctx, struct resolv_ctx *resolv_ctx, const char *hostname, const char *ipa_domain) argument
|
H A D | ipa_hosts.h | 31 const char *hostname,
|
H A D | ipa_srv.h | 29 const char *hostname,
|
H A D | ipa_hosts.c | 44 const char *hostname; member in struct:ipa_host_state 69 * hostname == NULL -> look up all hosts / host groups 70 * hostname != NULL -> look up only given host and groups 79 const char *hostname, 96 state->hostname = hostname; 109 if (hostname == NULL) { 116 hostname); 223 if (state->hostname == NULL) { 336 if (state->hostname 75 ipa_host_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *hostname, struct sdap_attr_map *host_map, struct sdap_attr_map *hostgroup_map, struct sdap_search_base **search_bases) argument [all...] |
H A D | ipa_subdomains.h | 102 const char *hostname; member in struct:ipa_server_mode_ctx
|
H A D | ipa_subdomains_server.c | 150 id_ctx->server_mode->hostname, 179 id_ctx->server_mode->hostname, 292 id_ctx->server_mode->hostname, 678 const char *hostname; local 701 hostname = dp_opt_get_string(state->id_ctx->ipa_options->basic, 714 hostname, 1054 char *hostname; local 1085 hostname = dp_opt_get_string(id_ctx->ipa_options->basic, IPA_HOSTNAME); 1086 if (hostname == NULL) { 1096 id_ctx->server_mode->hostname [all...] |
H A D | ipa_access.c | 254 const char *hostname; local 265 hostname = NULL; 273 hostname = dp_opt_get_string(state->ipa_options, IPA_HOSTNAME); 278 state->sdap_ctx->opts, hostname, 335 const char *hostname; local 361 ret = sysdb_attrs_get_string(state->hosts[i], SYSDB_FQDN, &hostname); 367 if (strcasecmp(hostname, ipa_hostname) == 0) {
|
H A D | ipa_selinux.c | 942 const char *hostname; local 970 hostname = dp_opt_get_string(state->selinux_ctx->id_ctx->ipa_options->basic, 972 if (hostname == NULL) { 980 hostname, 1321 const char *hostname, 1347 host_dn = sysdb_custom_dn(tmp_ctx, ipa_domain, hostname, HBAC_HOSTS_SUBDIR); 1525 const char *hostname; local 1544 hostname = dp_opt_get_string(selinux_ctx->id_ctx->ipa_options->basic, 1546 if (hostname == NULL) { 1554 pd->user, hostname, 1316 ipa_selinux_init_attrs(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, struct sss_domain_info *ipa_domain, struct sss_domain_info *user_domain, const char *username, const char *hostname, struct sysdb_attrs **_user, struct sysdb_attrs **_host) argument [all...] |
H A D | ipa_init.c | 240 const char *hostname; local 256 hostname = dp_opt_get_string(ipa_options->basic, IPA_HOSTNAME); 276 ret = be_fo_set_dns_srv_lookup_plugin(be_ctx, hostname); 309 const char *hostname; local 324 hostname = dp_opt_get_string(ipa_options->basic, IPA_HOSTNAME); 331 hostname, ipa_domain); 341 ret = be_fo_set_dns_srv_lookup_plugin(be_ctx, hostname);
|
/sssd/src/providers/ldap/ |
H A D | sdap_dyndns.h | 41 const char *hostname,
|
H A D | sdap_async_sudo_hostinfo.c | 348 * SUDO allows only one hostname that is returned from gethostname() 360 char hostname[HOST_NAME_MAX + 1]; local 372 /* hostname, fqdn and NULL */ 380 /* get hostname */ 383 ret = gethostname(hostname, HOST_NAME_MAX); 386 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to retrieve machine hostname " 390 hostname[HOST_NAME_MAX] = '\0'; 392 state->hostnames[0] = talloc_strdup(state->hostnames, hostname); 399 dot = strchr(hostname, '.'); 401 /* already a fqdn, determine hostname an [all...] |
H A D | sdap_dyndns.c | 49 const char *hostname; member in struct:sdap_dyndns_update_state 90 const char *hostname, 107 state->hostname = hostname; 191 state->be_res, state->hostname); 336 state->hostname, 482 ret = be_nsupdate_create_ptr_msg(state, realm, servername, state->hostname, 83 sdap_dyndns_update_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct dp_option *opts, struct sdap_id_ctx *sdap_ctx, enum be_nsupdate_auth auth_type, const char *ifname, const char *hostname, const char *realm, const int ttl, bool check_diff) argument
|
H A D | ldap_child.c | 344 char hostname[HOST_NAME_MAX + 1]; local 346 ret = gethostname(hostname, HOST_NAME_MAX); 351 hostname[HOST_NAME_MAX] = '\0'; 353 DEBUG(SSSDBG_TRACE_LIBS, "got hostname: [%s]\n", hostname); 355 ret = select_principal_from_keytab(tmp_ctx, hostname, realm_name,
|
/sssd/src/resolv/ |
H A D | async_resolv_utils.c | 31 char *hostname; member in struct:resolv_get_domain_state 40 const char *hostname, 57 if (hostname == NULL) { 58 /* use system hostname */ 67 hostname = system_hostname; 71 state->hostname = talloc_strdup(state, hostname); 72 if (state->hostname == NULL) { 77 DEBUG(SSSDBG_TRACE_LIBS, "Host name is: %s\n", state->hostname); 79 subreq = resolv_gethostbyname_send(state, ev, resolv_ctx, state->hostname, 37 resolv_get_domain_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct resolv_ctx *resolv_ctx, const char *hostname, enum host_database *host_dbs, enum restrict_family family_order) argument [all...] |
H A D | async_resolv.h | 170 const char *hostname,
|
/sssd/src/providers/ |
H A D | be_dyndns.h | 93 const char *hostname, const unsigned int ttl, 99 const char *servername, const char *hostname, 121 const char *hostname);
|
H A D | be_dyndns.c | 270 const char *hostname, int ttl, uint8_t remove_af) 281 hostname); 298 hostname, ttl, "A", ip_addr); 311 hostname); 328 hostname, ttl, "AAAA", ip_addr); 360 const char *hostname, 389 strptr, ttl, hostname); 461 const char *hostname, const unsigned int ttl, 470 if (hostname == NULL) { 483 update_msg = nsupdate_msg_add_fwd(update_msg, addresses, hostname, 269 nsupdate_msg_add_fwd(char *update_msg, struct sss_iface_addr *addresses, const char *hostname, int ttl, uint8_t remove_af) argument 358 nsupdate_msg_add_ptr(char *update_msg, struct sockaddr_storage *address, const char *hostname, int ttl, bool delete) argument 459 be_nsupdate_create_fwd_msg(TALLOC_CTX *mem_ctx, const char *realm, const char *servername, const char *hostname, const unsigned int ttl, uint8_t remove_af, struct sss_iface_addr *addresses, char **_update_msg) argument 504 be_nsupdate_create_ptr_msg(TALLOC_CTX *mem_ctx, const char *realm, const char *servername, const char *hostname, const unsigned int ttl, struct sockaddr_storage *address, bool delete, char **_update_msg) argument 549 const char *hostname; member in struct:nsupdate_get_addrs_state 559 nsupdate_get_addrs_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_resolv_ctx *be_res, const char *hostname) argument [all...] |
H A D | fail_over_srv.h | 114 const char *hostname,
|
H A D | fail_over_srv.c | 440 char *hostname; member in struct:fo_resolve_srv_dns_ctx 467 const char *hostname, 481 ctx->hostname = talloc_strdup(ctx, hostname); 482 if (ctx->hostname == NULL) { 537 ctx->hostname, ctx->host_dbs, 463 fo_resolve_srv_dns_ctx_init(TALLOC_CTX *mem_ctx, struct resolv_ctx *resolv_ctx, enum restrict_family family_order, enum host_database *host_dbs, const char *hostname, const char *sssd_domain) argument
|
/sssd/src/tests/ |
H A D | sysdb_ssh-tests.c | 162 const char *hostname; member in struct:test_data 175 data->hostname, 187 ret = sysdb_delete_ssh_host(data->ctx->domain, data->hostname); 196 ret = sysdb_get_ssh_host(data->ctx, data->ctx->domain, data->hostname, 223 data->hostname = talloc_strdup(test_ctx, TEST_HOSTNAME); 224 if (data->hostname == NULL) { 264 data->hostname = talloc_strdup(test_ctx, TEST_HOSTNAME); 265 if (data->hostname == NULL) { 299 data->hostname = talloc_strdup(test_ctx, "nonexistent_host"); 300 if (data->hostname [all...] |
H A D | resolv-tests.c | 100 const char *hostname, const char *address) 111 rhostent->name = talloc_strdup(rhostent, hostname); 302 const char *hostname = "127.0.0.1"; local 312 test_ctx->resolv, hostname, IPV4_ONLY, 372 const char *hostname = "localhost.localdomain"; local 382 test_ctx->resolv, hostname, IPV4_FIRST, 429 const char *hostname = "sssd.foo"; local 440 test_ctx->resolv, hostname, IPV4_FIRST, 535 const char *hostname = "redhat.com"; local 547 test_ctx->resolv, hostname, IPV4_FIRS 99 test_create_rhostent(TALLOC_CTX *mem_ctx, const char *hostname, const char *address) argument 640 const char *hostname = "redhat.com"; local 850 const char *hostname = "redhat.com"; local 929 const char *hostname = "redhat.com"; local [all...] |
/sssd/src/providers/ad/ |
H A D | ad_srv.h | 31 const char *hostname,
|
H A D | ad_common.h | 114 const char *hostname, 119 const char *hostname,
|
H A D | ad_common.c | 142 const char *hostname, 159 ret = dp_opt_set_string(ad_options->basic, AD_HOSTNAME, hostname); 161 DEBUG(SSSDBG_OP_FAILURE, "Cannot set AD hostname\n"); 180 const char *hostname, 189 ret = set_common_ad_trust_opts(ad_options, realm, ad_domain, hostname, 208 const char *hostname, 226 ad_domain, hostname, keytab); 355 char hostname[HOST_NAME_MAX + 1]; local 389 /* Set the machine's hostname to the local host name if it 394 gret = gethostname(hostname, HOST_NAME_MA 139 set_common_ad_trust_opts(struct ad_options *ad_options, const char *realm, const char *ad_domain, const char *hostname, const char *keytab) argument 177 ad_create_2way_trust_options(TALLOC_CTX *mem_ctx, const char *realm, const char *ad_domain, const char *hostname, const char *keytab) argument 206 ad_create_1way_trust_options(TALLOC_CTX *mem_ctx, const char *ad_domain, const char *hostname, const char *keytab, const char *sasl_authid) argument [all...] |
/sssd/src/tests/cmocka/ |
H A D | test_resolv_fake.c | 50 const char *hostname; member in struct:srv_rrdata 139 compressed_len = ns_name_compress(rr->hostname, 316 rr[0].hostname = "ldap.sssd.com"; 322 rr[1].hostname = "ldap2.sssd.com";
|