/titanic_41/usr/src/lib/libbc/libc/yp/ |
H A D | yp_bind.c | 96 yp_bind(domain) in yp_bind() argument 97 char *domain; in yp_bind() 100 _yp_bind(domain); 112 yp_unbind (domain) in yp_unbind() argument 113 char *domain; in yp_unbind() 115 _yp_unbind(domain); /* clean our local cache */ 117 _yp_unbind(domain); 127 yp_get_default_domain(domain) in yp_get_default_domain() argument 128 char **domain; in yp_get_default_domain() 131 _yp_get_default_domain(domain); [all …]
|
/titanic_41/usr/src/cmd/gettext/ |
H A D | gettext.c | 104 char *domain = NULL; in main() local 135 domain = ++arg; in main() 140 domain = *++argv; in main() 188 domain = arg; in main() 210 domain = *argv++; in main() 211 } else if (!domain) { in main() 216 domain = getenv("TEXTDOMAIN"); in main() 217 if (!domain) { in main() 227 (void) bindtextdomain(domain, domainpath); in main() 230 (void) fputs(dgettext(domain, msgid), stdout); in main() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_domain.c | 52 #define SMB_IS_FQDN(domain) (strchr(domain, '.') != NULL) argument 119 smb_locate_dc(char *domain, char *dc, smb_domainex_t *dp) in smb_locate_dc() argument 125 if (domain == NULL || *domain == '\0') in smb_locate_dc() 132 (void) strlcpy(smb_dclocator.sdl_domain, domain, in smb_locate_dc() 198 char domain[SMB_PI_MAX_DOMAIN]; in smb_ddiscover_service() local 208 (void) strlcpy(domain, smb_dclocator.sdl_domain, in smb_ddiscover_service() 213 smb_ddiscover_main(domain, sought_dc); in smb_ddiscover_service() 235 smb_ddiscover_main(char *domain, char *server) in smb_ddiscover_main() argument 245 status = smb_ddiscover_dns(domain, server, &dxi); in smb_ddiscover_main() 246 if (status != 0 && !SMB_IS_FQDN(domain)) { in smb_ddiscover_main() [all …]
|
H A D | lsalib.c | 78 char *name, *domain; in lsa_lookup_name() local 93 domain = dombuf; in lsa_lookup_name() 96 domain = NULL; in lsa_lookup_name() 99 status = lsa_lookup_name_builtin(domain, name, info); in lsa_lookup_name() 101 status = smb_sam_lookup_name(domain, name, type, info); in lsa_lookup_name() 105 if ((domain == NULL) || (status == NT_STATUS_NOT_FOUND)) in lsa_lookup_name() 139 lsa_query_primary_domain_info(char *server, char *domain, in lsa_query_primary_domain_info() argument 148 if ((lsar_open(server, domain, user, &domain_handle)) != 0) in lsa_query_primary_domain_info() 167 lsa_query_account_domain_info(char *server, char *domain, in lsa_query_account_domain_info() argument 176 if ((lsar_open(server, domain, user, &domain_handle)) != 0) in lsa_query_account_domain_info() [all …]
|
H A D | srvsvc_clnt.c | 57 srvsvc_open(char *server, char *domain, char *username, mlsvc_handle_t *handle) in srvsvc_open() argument 61 if (server == NULL || domain == NULL) { in srvsvc_open() 66 domain = di.d_primary.di_nbname; in srvsvc_open() 72 if (ndr_rpc_bind(handle, server, domain, username, "SRVSVC") < 0) in srvsvc_open() 93 srvsvc_net_share_get_info(char *server, char *domain, char *netname) in srvsvc_net_share_get_info() argument 111 if (srvsvc_open(server, domain, user, &handle) != 0) in srvsvc_net_share_get_info() 184 srvsvc_net_session_enum(char *server, char *domain, char *netname) in srvsvc_net_session_enum() argument 200 rc = srvsvc_open(server, domain, user, &handle); in srvsvc_net_session_enum() 250 srvsvc_net_connect_enum(char *server, char *domain, char *netname, int level) in srvsvc_net_connect_enum() argument 267 rc = srvsvc_open(server, domain, user, &handle); in srvsvc_net_connect_enum() [all …]
|
/titanic_41/usr/src/lib/libmail/common/ |
H A D | getdomain.c | 117 static char *domain = 0; in maildomain() local 121 if (domain != 0) in maildomain() 122 return (domain); in maildomain() 124 domain = readdomain(dombuf+1, NMLN); in maildomain() 128 if (domain) { in maildomain() 130 domain = dombuf; in maildomain() 131 while (*domain && *domain == '.') in maildomain() 132 domain++; in maildomain() 133 domain--; in maildomain() 134 len = strlen(domain); in maildomain() [all …]
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 63 char *domain; member 87 if (n->domain != 0) in freenode() 88 free(n->domain); in freenode() 96 makenode(char *domain, char *map, int keylen, int vallen) in makenode() argument 106 if (((n->domain = strdup(domain)) == 0) || in makenode() 122 in_cache(char *domain, char *map, char *key, int keylen, char **val, in in_cache() argument 141 (strcmp(domain, c->domain) == 0)) { in in_cache() 176 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, in __yp_match_cflookup() argument 191 if ((map == NULL) || (domain == NULL)) in __yp_match_cflookup() 194 domlen = strlen(domain); in __yp_match_cflookup() [all …]
|
H A D | yp_master.c | 58 yp_master(char *domain, char *map, char **master) in yp_master() argument 65 if ((map == NULL) || (domain == NULL)) in yp_master() 68 domlen = strlen(domain); in yp_master() 78 if (reason = __yp_dobind(domain, &pdomb)) in yp_master() 83 reason = domaster(domain, map, pdomb, _ypserv_timeout, in yp_master() 88 yp_unbind(domain); in yp_master() 106 rsvdreason = __yp_master_rsvdport(domain, map, master); in yp_master() 120 __yp_master_rsvdport(char *domain, char *map, char **master) in __yp_master_rsvdport() argument 127 if ((map == NULL) || (domain == NULL)) in __yp_master_rsvdport() 130 domlen = strlen(domain); in __yp_master_rsvdport() [all …]
|
H A D | yp_bind.c | 148 __yp_unbind_nolock(char *domain) in __yp_unbind_nolock() argument 153 if ((domain == NULL) || (strlen(domain) == 0)) { in __yp_unbind_nolock() 171 if (strcmp(domain, p->dom_domain) == 0) { in __yp_unbind_nolock() 186 yp_unbind(char *domain) in yp_unbind() argument 189 __yp_unbind_nolock(domain); in yp_unbind() 232 check_binding(char *domain, struct dom_binding **binding) in check_binding() argument 240 if (strcmp(domain, pdomb->dom_domain) == 0) { in check_binding() 260 if ((ypbind_resp = get_cached_domain(domain)) != 0) { in check_binding() 261 pdomb = load_dom_binding(ypbind_resp, domain, &status); in check_binding() 281 __yp_add_binding_netid(char *domain, char *addr, char *netid) in __yp_add_binding_netid() argument [all …]
|
H A D | yp_enum.c | 65 char *domain, in __yp_first_cflookup() argument 78 if ((map == NULL) || (domain == NULL)) in __yp_first_cflookup() 81 domlen = strlen(domain); in __yp_first_cflookup() 90 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_first_cflookup() 95 reason = dofirst(domain, map, pdomb, _ypserv_timeout, in __yp_first_cflookup() 101 yp_unbind(domain); in __yp_first_cflookup() 118 char *domain, in yp_first() argument 126 return (__yp_first_cflookup(domain, map, key, keylen, val, vallen, 1)); in yp_first() 134 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen) in dofirst() argument 135 char *domain; in dofirst() [all …]
|
H A D | yp_all.c | 63 __yp_all_cflookup(char *domain, char *map, struct ypall_callback *callback, in __yp_all_cflookup() argument 76 if ((map == NULL) || (domain == NULL)) in __yp_all_cflookup() 79 domlen = strlen(domain); in __yp_all_cflookup() 87 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_all_cflookup() 136 - transport level create failure for domain %s / map %s", domain, map); in __yp_all_cflookup() 141 req.domain = domain; in __yp_all_cflookup() 177 yp_all(char *domain, char *map, struct ypall_callback *callback) in yp_all() argument 179 return (__yp_all_cflookup(domain, map, callback, 1)); in yp_all() 188 __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback) in __yp_all_rsvdport() argument 200 if ((map == NULL) || (domain == NULL)) in __yp_all_rsvdport() [all …]
|
H A D | yp_order.c | 58 yp_order(char *domain, char *map, unsigned long *order) in yp_order() argument 65 if ((map == NULL) || (domain == NULL)) in yp_order() 68 domlen = strlen(domain); in yp_order() 78 if (reason = __yp_dobind(domain, &pdomb)) in yp_order() 83 reason = doorder(domain, map, pdomb, _ypserv_timeout, in yp_order() 88 yp_unbind(domain); in yp_order() 106 doorder(char *domain, char *map, struct dom_binding *pdomb, in doorder() argument 113 req.domain = domain; in doorder()
|
/titanic_41/usr/src/uts/i86pc/io/ |
H A D | immu_dvma.c | 79 static boolean_t dvma_map(domain_t *domain, uint64_t sdvma, 188 domain_t *domain; in bdf_domain_lookup() local 198 domain = NULL; in bdf_domain_lookup() 200 (void *)bdf, (void *)&domain) == 0) { in bdf_domain_lookup() 201 ASSERT(domain); in bdf_domain_lookup() 202 ASSERT(domain->dom_did > 0); in bdf_domain_lookup() 203 return (domain); in bdf_domain_lookup() 210 bdf_domain_insert(immu_devi_t *immu_devi, domain_t *domain) in bdf_domain_insert() argument 221 (void) mod_hash_insert(bdf_domain_hash, (void *)bdf, (void *)domain); in bdf_domain_insert() 776 domain_t *domain; in immu_devi_domain() local [all …]
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | yp.sh | 36 domain=`domainname` 38 if [ -z "$domain" ]; then 42 if [ ! -d /var/yp/binding/$domain ]; then 47 ypfile="/var/yp/binding/$domain/ypservers" 109 domain=`domainname` 111 if [ -z "$domain" ]; then 116 if [ ! -d /var/yp/binding/$domain ]; then 117 echo "$0: /var/yp/binding/$domain is not a directory" 127 if [ -f /var/yp/binding/$domain/ypservers ]; then 141 domain=`domainname` [all …]
|
H A D | ypcat.c | 65 static char *domain = NULL; variable 118 if (!domain) { in main() 129 err = __yp_all_rsvdport(domain, map, &cbinfo); in main() 132 one_by_one_all(domain, map); in main() 174 domain = *argv; 176 if ((int)strlen(domain) > YPMAXDOMAIN) { 249 one_by_one_all(domain, map) in one_by_one_all() argument 250 char *domain; in one_by_one_all() 266 if (err = yp_first(domain, map, &outkey, &outkeylen, &val, &vallen)) { 288 if (err = yp_next(domain, map, key, keylen, &outkey, &outkeylen, [all …]
|
/titanic_41/usr/src/lib/libc/port/i18n/ |
H A D | gettext.c | 72 bindtextdomain(const char *domain, const char *binding) in bindtextdomain() argument 78 res = _real_bindtextdomain_u(domain, binding, TP_BINDING); in bindtextdomain() 84 bind_textdomain_codeset(const char *domain, const char *codeset) in bind_textdomain_codeset() argument 90 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET); in bind_textdomain_codeset() 100 textdomain(const char *domain) in textdomain() argument 107 res = _textdomain_u(domain, tmp_domain); in textdomain() 139 dgettext(const char *domain, const char *msg_id) in dgettext() argument 146 res = _real_gettext_u(domain, msg_id, NULL, 0, LC_MESSAGES, 0); in dgettext() 153 dcgettext(const char *domain, const char *msg_id, const int category) in dcgettext() argument 160 res = _real_gettext_u(domain, msg_id, NULL, 0, category, 0); in dcgettext() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netlogon.c | 49 char *domain); 54 static void smb_netlogon_send(struct name_entry *name, char *domain, 80 smb_netlogon_request(struct name_entry *server, char *domain) in smb_netlogon_request() argument 86 if (domain == NULL || *domain == '\0') in smb_netlogon_request() 90 (void) strlcpy(ntdomain_info.n_domain, domain, in smb_netlogon_request() 95 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) { in smb_netlogon_request() 102 domain, sid); in smb_netlogon_request() 104 smb_netlogon_query(server, MAILSLOT_NETLOGON_RDC, domain); in smb_netlogon_request() 139 char *domain; in smb_netlogon_receive() local 176 rc = smb_msgbuf_decode(&mb, "sUU", &junk, &primary, &domain); in smb_netlogon_receive() [all …]
|
/titanic_41/usr/src/lib/libdns_sd/java/com/apple/dnssd/ |
H A D | DNSSD.java | 158 …public static DNSSDService browse( int flags, int ifIndex, String regType, String domain, BrowseLi… in browse() argument 160 { return getInstance()._makeBrowser( flags, ifIndex, regType, domain, listener); } in browse() 221 String domain, ResolveListener listener) in resolve() argument 223 { return getInstance()._resolve( flags, ifIndex, serviceName, regType, domain, listener); } in resolve() 279 String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) in register() argument 281 …{ return getInstance()._register( flags, ifIndex, serviceName, regType, domain, host, port, txtRec… in register() 404 public static String constructFullName( String serviceName, String regType, String domain) in constructFullName() argument 406 { return getInstance()._constructFullName( serviceName, regType, domain); } in constructFullName() 477 …NSSDService _makeBrowser( int flags, int ifIndex, String regType, String domain, BrowseListener li… in _makeBrowser() argument 481 String domain, ResolveListener listener) in _resolve() argument [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 113 char *domain) in user2netname_nis() argument 117 if (domain == NULL) { in user2netname_nis() 122 domain = dfltdom; in user2netname_nis() 124 if ((strlen(domain) + OPSYS_LEN + 3 + MAXIPRINT) > in user2netname_nis() 130 "%s.%d@%s", OPSYS, (int)uid, domain); in user2netname_nis() 178 const char *domain) in user2netname() argument 222 netname, uid, (char *)domain); in user2netname() 269 const char *domain) in host2netname() argument 286 if (domain == NULL) { in host2netname() 287 domain = p; in host2netname() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 143 char *domain; in zfs_fuid_table_load() local 147 &domain) == 0); in zfs_fuid_table_load() 154 domnode->f_ksid = ksid_lookupdomain(domain); in zfs_fuid_table_load() 301 zfs_fuid_find_by_domain(zfsvfs_t *zfsvfs, const char *domain, in zfs_fuid_find_by_domain() argument 313 if (domain[0] == '\0') { in zfs_fuid_find_by_domain() 319 searchnode.f_ksid = ksid_lookupdomain(domain); in zfs_fuid_find_by_domain() 368 char *domain; in zfs_fuid_find_by_idx() local 379 domain = zfs_fuid_idx_domain(&zfsvfs->z_fuid_idx, idx); in zfs_fuid_find_by_idx() 381 domain = nulldomain; in zfs_fuid_find_by_idx() 384 ASSERT(domain); in zfs_fuid_find_by_idx() [all …]
|
/titanic_41/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.h | 50 extern char *getFullMapName(char *map, char *domain); 56 char *domain, bool_t readonly, int *statP); 57 extern __nis_table_mapping_t *mappingFromMap(char *map, char *domain, 59 extern bool_t singleReadFromDIT(char *map, char *domain, 62 extern suc_code singleWriteToDIT(char *map, char *domain, 65 __nis_rule_value_t *rv, char *domain); 68 int numVals, char *domain); 75 extern suc_code makeNISObject(char *domain, char *dn); 76 extern suc_code addNISObject(char *domain, char *dn,
|
H A D | map_conv.c | 149 dump_map_to_dit(char *map_name, char *domain, bool_t init_containers) in dump_map_to_dit() argument 160 map_name, domain); in dump_map_to_dit() 163 if (SUCCESS != make_nis_container(map_name, domain, init_containers)) { in dump_map_to_dit() 167 map_name, domain); in dump_map_to_dit() 171 map_name, domain); in dump_map_to_dit() 177 map_path = (char *)am(myself, strlen(domain) + strlen(map_name) + in dump_map_to_dit() 181 "Could not alloc memory for %s %s", map_name, domain); in dump_map_to_dit() 186 strcat(map_path, domain); in dump_map_to_dit() 216 "Zero length key ignored in %s %s", map_name, domain); in dump_map_to_dit() 228 if (SUCCESS != write_to_dit(map_name, domain, key, value, in dump_map_to_dit() [all …]
|
H A D | dit_access.c | 120 read_from_dit(char *map, char *domain, datum *key, datum *value) in read_from_dit() argument 133 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) { in read_from_dit() 145 if (TRUE == singleReadFromDIT(map, domain, key, value, &res)) in read_from_dit() 196 write_to_dit(char *map, char *domain, datum key, datum value, in write_to_dit() argument 210 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) { in write_to_dit() 222 res = singleWriteToDIT(map, domain, &key, &value, replace); in write_to_dit() 282 table_map = mappingFromMap(map->map_name, map->domain, &res); in get_ttl_value() 287 "(error %d)", map->map_name, map->domain, res); in get_ttl_value() 401 get_passwd_list(bool_t adjunct, char *domain) in get_passwd_list() argument 430 domain_len = strlen(domain); in get_passwd_list() [all …]
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 55 const char *domain; member 66 const char *domain, const char *filter); 68 char **domain); 218 char domain[id_len + 1]; in directory_provider_ad_get() local 220 split_name(name, domain, id); in directory_provider_ad_get() 224 if (uu_streq(domain, "")) { in directory_provider_ad_get() 227 vw[1] = domain; in directory_provider_ad_get() 284 const char *domain, in directory_provider_ad_lookup() argument 303 cbinfo.domain = domain; in directory_provider_ad_lookup() 312 rc = adutils_lookup_batch_add(qs, filter, attrs, domain, in directory_provider_ad_lookup() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | PlatformCommon.c | 100 …onst char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainD… in ReadDDNSSettingsFromConfFile() argument 108 if (domain) domain->c[0] = 0; in ReadDDNSSettingsFromConfFile() 115 …if (domain && GetConfigOption(buf, "zone", f) && !MakeDomainNameFromDNSNameString(domain, buf)) go… in ReadDDNSSettingsFromConfFile() 126 if (domain && domain->c[0] && secret[0]) in ReadDDNSSettingsFromConfFile() 129 err = mDNS_SetSecretForZone(m, domain, domain, secret); in ReadDDNSSettingsFromConfFile() 130 if (err) LogMsg("ERROR: mDNS_SetSecretForZone returned %d for domain %##s", err, domain->c); in ReadDDNSSettingsFromConfFile()
|