Searched refs:domain (Results 26 - 50 of 348) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_match.c63 char *domain; member in struct:cache
87 if (n->domain != 0)
88 free(n->domain);
96 makenode(char *domain, char *map, int keylen, int vallen) argument
106 if (((n->domain = strdup(domain)) == 0) ||
122 in_cache(char *domain, char *map, char *key, int keylen, char **val, argument
141 (strcmp(domain, c->domain) == 0)) {
170 * Requests the yp server associated with a given domain t
176 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument
303 yp_match( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument
354 __yp_match_rsvdport_cflookup( char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument
488 yp_match_rsvdport( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument
506 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument
[all...]
H A Dyp_all.c63 __yp_all_cflookup(char *domain, char *map, struct ypall_callback *callback, argument
76 if ((map == NULL) || (domain == NULL))
79 domlen = strlen(domain);
87 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
136 - transport level create failure for domain %s / map %s", domain, map);
141 req.domain = domain;
177 yp_all(char *domain, char *map, struct ypall_callback *callback) argument
179 return (__yp_all_cflookup(domain, ma
188 __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback) argument
[all...]
H A Dyp_bind.c103 * It also protects all of the fields within a domain binding except
105 * A better implementation might try to serialize each domain separately,
106 * but normally we're only dealing with one domain (the default) anyway.
107 * To avoid one thread freeing a domain binding while another is using
140 * domain name field equal to the passed domain name, and removes it if found.
141 * The domain-server binding will not exist after the call to this function.
148 __yp_unbind_nolock(char *domain) argument
153 if ((domain == NULL) || (strlen(domain)
186 yp_unbind(char *domain) argument
232 check_binding(char *domain, struct dom_binding **binding) argument
281 __yp_add_binding_netid(char *domain, char *addr, char *netid) argument
346 __yp_add_binding(char *domain, char *addr) argument
367 load_dom_binding(struct ypbind_resp *ypbind_res, char *domain, int *err) argument
465 load_dom_binding_rsvdport(struct ypbind_binding *dom_binding, char *domain, int *err) argument
535 __yp_dobind_cflookup( char *domain, struct dom_binding **binding, int hardlookup) argument
672 __yp_dobind( char *domain, struct dom_binding **binding) argument
705 __yp_dobind_rsvdport_cflookup( char *domain, struct dom_binding **binding, int hardlookup) argument
828 __yp_dobind_rsvdport( char *domain, struct dom_binding **binding) argument
841 yp_bind(char *domain) argument
889 yp_get_default_domain(char **domain) argument
904 char *domain; local
1108 get_cached_domain(char *domain) argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypcat.c41 * ypcat [-k] [-d domain] [-t] map
44 * before the value, and the -d switch can be used to specify a domain other
45 * than the default domain. -t switch inhibits nickname translation of map
65 static char *domain = NULL; variable
118 if (!domain) {
129 err = __yp_all_rsvdport(domain, map, &cbinfo);
132 one_by_one_all(domain, map);
174 domain = *argv;
176 if ((int)strlen(domain) > YPMAXDOMAIN) {
249 one_by_one_all(domain, ma
[all...]
H A Dyp.sh38 domain=`domainname`
46 if [ -z "$domain" ]; then
50 if [ ! -d /var/yp/binding/$domain ]; then
56 ypfile="/var/yp/binding/$domain/ypservers"
173 domain=`domainname`
175 if [ -z "$domain" ]; then
180 if [ ! -d /var/yp/binding/$domain ]; then
181 echo "$0: /var/yp/binding/$domain is not a directory"
191 if [ -f /var/yp/binding/$domain/ypservers ]; then
205 domain
[all...]
H A Dypstart.sh40 domain=`domainname`
41 if [ -z "$domain" ]; then
42 echo "ERROR: Default domain is not defined. \c"
43 echo "Use \"domainname\" to set the domain."
51 if [ -d /var/yp/$domain ]; then
64 passwdfile=/var/yp/$domain/LDAP_passwd.byname
66 passwdfile=/var/yp/$domain/passwd.byname
H A Dypmatch.c41 * ypmatch [-d domain] [-t] [-k] key [key ...] mname
44 * where: the -d switch can be used to specify a domain other than the
45 * default domain. mname may be either a mapname, or a nickname which
71 static char *domain = NULL; variable
79 ypmatch [-d domain] [-t] [-k] key [key ...] mname\n\
109 if (!domain) {
160 domain = *argv;
162 if ((int)strlen(domain) > YPMAXDOMAIN) {
202 * to something reasonable. domain is set here.
208 domain
[all...]
H A Dypserv_map.c67 ypget_map_order(char *map, char *domain, uint_t *order) argument
75 if ((fdb = ypset_current_map(map, domain, &error)) != NULL) {
147 ypset_current_map(char *map, char *domain, uint_t *error) argument
152 /* Do not allow any path as a domain name or a map name. */
154 !domain || ((lend = (int)strlen(domain)) == 0) ||
156 (strchr(domain, '/') != NULL)) {
161 if (FALSE == ypmkfilename(domain, map, mapname))
180 if (ypcheck_domain(domain)) {
H A Dypv1_prot.h56 #define ypmatch_req_domain yp_reqbody.yp_req_keytype.domain
63 #define ypfirst_req_domain yp_reqbody.yp_req_nokeytype.domain
67 #define ypnext_req_domain yp_reqbody.yp_req_keytype.domain
74 #define yppush_req_domain yp_reqbody.yp_req_nokeytype.domain
78 #define yppull_req_domain yp_reqbody.yp_req_nokeytype.domain
82 #define yppoll_req_domain yp_reqbody.yp_req_nokeytype.domain
86 #define ypget_req_domain yp_reqbody.yp_req_map_parmstype.domain
116 #define yppoll_resp_domain yp_respbody.yp_resp_map_parmstype.domain
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcSendSRL.cc41 * @param domain ???
48 HBA_UINT32 domain,
58 port->sendSRL(0, domain, pRspBuffer, pRspBufferSize);
60 port->sendSRL(wwnConversion(wwn.wwn), domain, local
45 Sun_fcSendSRL(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN wwn, HBA_UINT32 domain, void *pRspBuffer, HBA_UINT32 *pRspBufferSize) argument
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netlogon.c27 * This module handles the primary domain controller location protocol.
49 char *domain);
54 static void smb_netlogon_send(struct name_entry *name, char *domain,
71 * This is the entry point locating the resource domain PDC. A netlogon
73 * Note that we need to know the domain SID in order to use the samlogon
80 smb_netlogon_request(struct name_entry *server, char *domain) argument
86 if (domain == NULL || *domain == '\0')
90 (void) strlcpy(ntdomain_info.n_domain, domain,
95 if (smb_strcasecmp(di.di_nbname, domain,
139 char *domain; local
270 smb_netlogon_query(struct name_entry *server, char *mailbox, char *domain) argument
347 smb_netlogon_samlogon(struct name_entry *server, char *mailbox, char *domain, smb_sid_t *domain_sid) argument
434 smb_netlogon_send(struct name_entry *name, char *domain, unsigned char *buffer, int count) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.h40 char *nisplusLDAPbaseDomain(char *domain);
44 char *domain2base(char *domain);
H A Dldap_cto.c47 socket(int domain, int type, int protocol) { argument
63 ret = (*fptr) (domain, type, protocol);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcdname.c39 * Gets the default domain name
84 * the domain name is non-null, knowing that the null string is going to
88 __rpc_get_default_domain(char **domain) argument
90 if ((*domain = get_default_domain()) != 0)
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent.c69 const char *user, const char *domain
75 return (innetgr_p(netgroup, host, user, domain, net_data));
80 NGR_R_CONST char **domain)
92 DE_CONST(cd, *domain);
119 const char *user, const char *domain,
125 return ((*ng->test)(ng, netgroup, host, user, domain));
129 getnetgrent_p(const char **host, const char **user, const char **domain, argument
135 return ((*ng->next)(ng, host, user, domain));
79 getnetgrent(NGR_R_CONST char **host, NGR_R_CONST char **user, NGR_R_CONST char **domain) argument
118 innetgr_p(const char *netgroup, const char *host, const char *user, const char *domain, struct net_data *net_data) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dpciev.h88 * domain and non-root domain so that we do the initialization for
89 * root domain only?
94 * Cache the domain/channel id and bdfs of all it's children.
97 * Cache just the domain/channel id of self.
109 } domain; member in struct:pcie_domain
112 * Reference count of the domain type for this device and it's children.
118 uint_t fmadom_count; /* FMA channel capable domain */
119 uint_t nfmadom_count; /* Non-FMA channel domain */
120 uint_t rootdom_count; /* Root domain */
[all...]
/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSD.java41 String serviceName, String regType, String domain) {}
45 default browse domain(s).
57 /** If flag is set in a {@link DomainListener} callback, indicates that the result is the default domain. */
79 /** Maximum length, in bytes, of a domain name represented as an escaped C-String. */
105 @param domain
106 If non-null, specifies the domain on which to browse for services.
107 Most applications will not specify a domain, instead browsing on the
108 default domain(s).
118 public static DNSSDService browse( int flags, int ifIndex, String regType, String domain, BrowseListener listener) argument
120 { return getInstance()._makeBrowser( flags, ifIndex, regType, domain, listene
180 resolve( int flags, int ifIndex, String serviceName, String regType, String domain, ResolveListener listener) argument
238 register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument
364 constructFullName( String serviceName, String regType, String domain) argument
437 _makeBrowser( int flags, int ifIndex, String regType, String domain, BrowseListener listener) argument
440 _resolve( int flags, int ifIndex, String serviceName, String regType, String domain, ResolveListener listener) argument
444 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument
458 _constructFullName( String serviceName, String regType, String domain) argument
554 _makeBrowser( int flags, int ifIndex, String regType, String domain, BrowseListener client) argument
560 _resolve( int flags, int ifIndex, String serviceName, String regType, String domain, ResolveListener client) argument
567 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener client) argument
594 _constructFullName( String serviceName, String regType, String domain) argument
623 ConstructName( String serviceName, String regType, String domain, String[] pOut) argument
700 AppleBrowser( int flags, int ifIndex, String regType, String domain, BrowseListener client) argument
710 CreateBrowser( int flags, int ifIndex, String regType, String domain) argument
715 AppleResolver( int flags, int ifIndex, String serviceName, String regType, String domain, ResolveListener client) argument
726 CreateResolver( int flags, int ifIndex, String serviceName, String regType, String domain) argument
767 AppleRegistration( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord, RegisterListener client) argument
793 BeginRegister( int ifIndex, int flags, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c79 static boolean_t dvma_map(domain_t *domain, uint64_t sdvma,
188 domain_t *domain; local
198 domain = NULL;
200 (void *)bdf, (void *)&domain) == 0) {
201 ASSERT(domain);
202 ASSERT(domain->dom_did > 0);
203 return (domain);
210 bdf_domain_insert(immu_devi_t *immu_devi, domain_t *domain) argument
221 (void) mod_hash_insert(bdf_domain_hash, (void *)bdf, (void *)domain);
776 domain_t *domain; local
829 domain_t *domain; local
930 map_unity_domain(domain_t *domain) argument
1019 create_xlate_arena(immu_t *immu, domain_t *domain, dev_info_t *rdip, immu_flags_t immu_flags) argument
1128 set_domain( dev_info_t *dip, dev_info_t *ddip, domain_t *domain) argument
1175 domain_t *domain; local
1268 domain_t *domain; local
1316 domain_t *domain; local
1449 context_set(immu_t *immu, domain_t *domain, pgtable_t *root_table, int bus, int devfunc) argument
1629 immu_context_update(immu_t *immu, domain_t *domain, dev_info_t *ddip, dev_info_t *rdip, immu_flags_t immu_flags) argument
1846 PTE_clear_all(immu_t *immu, domain_t *domain, xlate_t *xlate, uint64_t *dvma_ptr, uint64_t *npages_ptr, dev_info_t *rdip) argument
1908 PDE_lookup(domain_t *domain, xlate_t *xlate, int nlevels) argument
1970 domain_t *domain; local
2094 PTE_set_all(immu_t *immu, domain_t *domain, xlate_t *xlate, uint64_t *dvma_ptr, uint64_t *nvpages_ptr, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip, immu_flags_t immu_flags) argument
2241 PDE_set_all(immu_t *immu, domain_t *domain, xlate_t *xlate, int nlevels, dev_info_t *rdip, immu_flags_t immu_flags) argument
2350 dvma_map(domain_t *domain, uint64_t sdvma, uint64_t snvpages, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip, immu_flags_t immu_flags) argument
2393 dvma_unmap(domain_t *domain, uint64_t sdvma, uint64_t snpages, dev_info_t *rdip) argument
2423 dvma_alloc(domain_t *domain, ddi_dma_attr_t *dma_attr, uint_t npages, int kmf) argument
2461 domain_t *domain; local
2526 domain_t *domain; local
2539 dvma_free(domain_t *domain, uint64_t dvma, uint64_t npages) argument
2554 domain_t *domain; local
2737 domain_t *domain; local
2837 domain_t *domain; local
2877 domain_t *domain; local
2962 domain_t *domain; local
[all...]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmap_lsa.h44 /* Given name and optional domain, look up SID, type, and canonical name */
45 idmap_retcode lookup_lsa_by_name(const char *name, const char *domain,
/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/
H A DSwingBrowseListener.java64 String serviceName, String regType, String domain)
73 fDomain = domain;
79 String serviceName, String regType, String domain)
87 fDomain = domain;
63 serviceFound( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument
78 serviceLost( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument
H A DSwingDomainListener.java63 public void domainFound( DNSSDService domainEnum, int flags, int ifIndex, String domain) argument
70 fDomain = domain;
75 public void domainLost( DNSSDService domainEnum, int flags, int ifIndex, String domain) argument
81 fDomain = domain;
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dmap_conv.c90 * DESCRIPTION: Dumps all maps in one domain into the DIT
92 * GIVEN : Name of the domain
95 * RETURNS : SUCCESS = domain completely dumped
96 * FAILURE = domain not completely dumped
105 /* Set up nis domain object */
140 * Name of domain
147 dump_map_to_dit(char *map_name, char *domain, bool_t init_containers) argument
157 printf("Copying map \"%s\", domain \"%s\", to LDAP.\n",
158 map_name, domain);
161 if (SUCCESS != make_nis_container(map_name, domain, init_container
353 dump_dit_to_map(char *map_name, char *domain) argument
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityGroup.java43 * The locality domain which contains this group.
45 private LocalityDomain domain; field in class:LocalityGroup
70 * @param domain is the domain to which this instance belongs.
74 public LocalityGroup(LocalityDomain domain, long id, argument
77 this.domain = domain;
84 children.add(new LocalityGroup(domain,
164 LocalityGroup other = domain.
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fuid.c43 * of nvlists which contain an index, domain string and offset
47 * and the other by the domain string. Nodes are never removed from
85 * Compare two domain strings.
110 * load initial fuid domain and idx trees. This function is used by
143 char *domain; local
147 &domain) == 0);
154 domnode->f_ksid = ksid_lookupdomain(domain);
293 * Query domain table for a given domain.
295 * If domain is
301 zfs_fuid_find_by_domain(zfsvfs_t *zfsvfs, const char *domain, char **retdomain, boolean_t addok) argument
368 char *domain; local
400 const char *domain; local
410 (void) kidmap_getuidbysid(crgetzone(cr), domain, local
413 (void) kidmap_getgidbysid(crgetzone(cr), domain, local
427 zfs_fuid_node_add(zfs_fuid_info_t **fuidpp, const char *domain, uint32_t rid, uint64_t idx, uint64_t id, zfs_fuid_type_t type) argument
501 const char *domain; local
554 const char *domain; local
721 const char *domain; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/yp/
H A Dypv1_prot.h60 #define ypmatch_req_domain yp_reqbody.yp_req_keytype.domain
67 #define ypfirst_req_domain yp_reqbody.yp_req_nokeytype.domain
71 #define ypnext_req_domain yp_reqbody.yp_req_keytype.domain
78 #define yppush_req_domain yp_reqbody.yp_req_nokeytype.domain
82 #define yppull_req_domain yp_reqbody.yp_req_nokeytype.domain
86 #define yppoll_req_domain yp_reqbody.yp_req_nokeytype.domain
90 #define ypget_req_domain yp_reqbody.yp_req_map_parmstype.domain
130 #define yppoll_resp_domain yp_respbody.yp_resp_map_parmstype.domain

Completed in 152 milliseconds

1234567891011>>