| /sssd-io/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_deskprofile_rules_util.h | 43 const char *hostname,
|
| H A D | ipa_hosts.c | 41 const char *hostname; member in struct:ipa_host_state 60 * hostname == NULL -> look up all hosts / host groups 61 * hostname != NULL -> look up only given host and groups 70 const char *hostname, 86 state->hostname = hostname; 92 subreq = sdap_host_info_send(mem_ctx, ev, sh, opts, hostname, host_map, 134 if (state->hostname == NULL) { 249 if (state->hostname == NULL) { 66 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
|
| H A D | ipa_session.c | 239 const char *hostname; local 242 hostname = dp_opt_get_string(state->ipa_options, IPA_HOSTNAME); 248 hostname, 470 const char *hostname, 559 const char *hostname; local 586 hostname = dp_opt_get_string(state->session_ctx->ipa_options, IPA_HOSTNAME); 591 hostname, 702 const char *hostname, 763 hostname, 697 ipa_pam_session_handler_save_deskprofile_rules( struct be_ctx *be_ctx, struct sss_domain_info *domain, const char *username, const char *user_dir, const char *hostname, uid_t uid, gid_t gid) argument
|
| H A D | ipa_subdomains.h | 102 const char *hostname; member in struct:ipa_server_mode_ctx
|
| H A D | ipa_subdomains_server.c | 153 id_ctx->server_mode->hostname, 193 id_ctx->server_mode->hostname, 313 id_ctx->server_mode->hostname, 710 const char *hostname; local 733 hostname = dp_opt_get_string(state->id_ctx->ipa_options->basic, 746 hostname, 1116 char *hostname; local 1147 hostname = dp_opt_get_string(id_ctx->ipa_options->basic, IPA_HOSTNAME); 1148 if (hostname == NULL) { 1158 id_ctx->server_mode->hostname [all...] |
| /sssd-io/src/providers/ldap/ |
| H A D | sdap_dyndns.h | 41 const char *hostname,
|
| H A D | sdap_async_hosts.c | 40 const char *hostname; member in struct:sdap_host_state 55 * hostname == NULL -> look up all hosts / host groups 56 * hostname != NULL -> look up only given host and groups 64 const char *hostname, 80 state->hostname = hostname; 92 if (hostname == NULL) { 99 hostname); 60 sdap_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_search_base **search_bases) argument
|
| 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, 479 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 | 339 char hostname[HOST_NAME_MAX + 1]; local 341 ret = gethostname(hostname, HOST_NAME_MAX); 346 hostname[HOST_NAME_MAX] = '\0'; 348 DEBUG(SSSDBG_TRACE_LIBS, "got hostname: [%s]\n", hostname); 350 ret = select_principal_from_keytab(tmp_ctx, hostname, realm_name,
|
| /sssd-io/src/resolv/ |
| H A D | async_resolv_utils.c | 32 char *hostname; member in struct:resolv_get_domain_state 41 const char *hostname, 58 if (hostname == NULL) { 59 /* use system hostname */ 68 hostname = system_hostname; 72 state->hostname = talloc_strdup(state, hostname); 73 if (state->hostname == NULL) { 78 DEBUG(SSSDBG_TRACE_LIBS, "Host name is: %s\n", state->hostname); 80 subreq = resolv_gethostbyname_send(state, ev, resolv_ctx, state->hostname, 38 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-io/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); 465 const char *hostname, const unsigned int ttl, 474 if (hostname == NULL) { 487 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 463 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 508 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 553 const char *hostname; member in struct:nsupdate_get_addrs_state 563 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-io/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-io/src/providers/ad/ |
| H A D | ad_srv.h | 32 const char *hostname,
|
| H A D | ad_common.h | 124 const char *hostname, 132 const char *hostname,
|
| H A D | ad_common.c | 274 const char *hostname, 291 ret = dp_opt_set_string(ad_options->basic, AD_HOSTNAME, hostname); 293 DEBUG(SSSDBG_OP_FAILURE, "Cannot set AD hostname\n"); 315 const char *hostname, 330 ret = set_common_ad_trust_opts(ad_options, realm, subdom->name, hostname, 354 const char *hostname, 379 subdom->name, hostname, keytab); 422 char hostname[HOST_NAME_MAX + 1]; local 456 /* Set the machine's hostname to the local host name if it 461 gret = gethostname(hostname, HOST_NAME_MA 271 set_common_ad_trust_opts(struct ad_options *ad_options, const char *realm, const char *ad_domain, const char *hostname, const char *keytab) argument 309 ad_create_2way_trust_options(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb, const char *conf_path, struct data_provider *dp, const char *realm, struct sss_domain_info *subdom, const char *hostname, const char *keytab) argument 349 ad_create_1way_trust_options(TALLOC_CTX *mem_ctx, struct confdb_ctx *cdb, const char *subdom_conf_path, struct data_provider *dp, struct sss_domain_info *subdom, const char *hostname, const char *keytab, const char *sasl_authid) argument [all...] |
| /sssd-io/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";
|