/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_update.c | 64 yp_update(char *domain, char *map, unsigned op, char *key, int keylen, argument 92 if (yp_master(domain, map, &ypmaster) != 0) { 109 if (!host2netname(ypmastername, ypmaster, domain)) {
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smbrdr_glue.c | 107 char *domain, char *user) 115 assert(domain != NULL); 125 * Set server, share, domain, user 130 (void) smb_ctx_setdomain(ctx, domain, B_TRUE); 106 smbrdr_ctx_new(struct smb_ctx **ctx_p, char *server, char *domain, char *user) argument
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | ldap_common.h | 142 char *searchfilter, char *domain, 149 char *searchfilter, char *domain, 159 extern int propersubdomain(char *domain, char *subdomain); 160 extern int chophostdomain(char *string, char *host, char *domain);
|
/illumos-gate/usr/src/lib/libbc/libc/yp/ |
H A D | yp_prot.h | 42 * responding NIS server does serve the named domain; FALSE indicates no 46 * the named domain, otherwise does not return. Used in the broadcast case. 50 * domain. 53 * Returns the first key-value pair from a named domain and map. 57 * domain and map. 124 char *domain; /* Null string means not available */ member in struct:ypmap_parms 135 char *domain; member in struct:ypreq_key 141 char *domain; member in struct:ypreq_nokey 151 #define ypxfr_domain map_parms.domain 215 #define YP_NOMAP ((long)-1) /* No such map in domain */ [all...] |
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Monitor.java | 29 package com.sun.solaris.domain.pools;
|
H A D | Solver.java | 30 package com.sun.solaris.domain.pools;
|
/illumos-gate/usr/src/cmd/sgs/lari/ |
H A D | Makefile | 60 @ echo "domain \"SUNW_OST_SGS"\" >> $(POFILE) 62 sed -e "/^domain/d" messages.po >> $(POFILE)
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_server_impl.h | 49 * Split a name@domain into name, domain. Recommend allocating the 53 void split_name(char *name, char *domain, char *id);
|
H A D | directory_provider_builtin.c | 121 char domain[id_len + 1]; local 123 split_name(name, domain, id); 125 wksid = find_wksid_by_name(name, domain, idmap_id_type); 202 if (wksid->domain == NULL) { 239 if (wksid->domain == NULL) { 244 } else if (uu_streq(wksid->domain, "")) { 248 wksid->winname, wksid->domain);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypwhich.c | 42 * ypwhich [-d domain] [-m [mname] [-t] | [-Vn] host] 44 * where: the -d switch can be used to specify a domain other than the 45 * default domain. -m tells the master of that map. mname is a mapname 79 static char *domain = NULL; variable 95 ypwhich [-d domain] [[-t] -m [mname] | [-Vn] host]\n\ 161 if (!domain) { 245 domain = *argv; 248 if ((int)strlen(domain) > YPMAXDOMAIN) { 307 * to something reasonable. domain is set here. 313 domain [all...] |
H A D | ypv1_xdr.c | 104 char *domain = ps->ypsetdom_domain; 106 return (xdr_ypdomain_wrap_string(xdrs, &domain) &&
|
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/ |
H A D | jlgrp.c | 143 jobject domain; local 146 fid = (*env)->GetFieldID(env, clazz, "domain", 148 domain = (*env)->GetObjectField(env, obj, fid); 150 cookie = getCookie(env, (*env)->GetObjectClass(env, domain), domain); 199 jobject domain; local 202 fid = (*env)->GetFieldID(env, clazz, "domain", 204 domain = (*env)->GetObjectField(env, obj, fid); 206 cookie = getCookie(env, (*env)->GetObjectClass(env, domain), domain); [all...] |
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_subr.c | 61 static char domainkey[] = "domain="; 78 static char domain[MAX_MACHINE_NAME]; local 111 * The algorithm for determining the client's domain name is: 112 * 1) look for "domain=" in the client's bootparams line. 114 * 2) look for a "domain=" entry in the wildcard bootparams 116 * 3) return the domain name of the server answering the 120 copydomain(cp + sizeof (domainkey) - 1, domain, 121 sizeof (domain)); 123 /* "domain=" not found - try for wildcard */ 127 copydomain(cp + sizeof (domainkey) - 1, domain, [all...] |
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 169 char domain[MAXNETNAMELEN+1]; local 209 * Get the domain name. This is tricky because a N2L server may be 217 /* Got a domain list ... process all the domains */ 230 * There was no domain list in the mapping file. The 232 * up the domain returned by getdomainname(). Fall back to the 235 if (0 > getdomainname(domain, MAXNETNAMELEN+1)) { 237 "Could not get any domain info"); 239 /* Got one domain ... process it. */ 240 ans = proc_domain(&yppwd, root_on_master, domain); 253 * DESCRIPTION: Process a request for one domain 262 proc_domain(struct yppasswd *yppwd, bool_t root_on_master, char *domain) argument 305 proc_request(struct yppasswd *yppwd, struct passwd_entry *old_pwd, bool_t root_on_master, char *domain) argument 382 proc_maps(char *domain, struct passwd_entry *pwd) argument 432 proc_map_list(char **map_list, char *domain, struct passwd_entry *pwd, bool_t adjunct_flag) argument 645 modify_ent(struct yppasswd *yppwd, struct passwd_entry *old_ent, bool_t root_on_master, char *domain) argument 1056 get_old_info(char *name, char *domain) argument 1129 put_new_info(struct passwd_entry *pwd, char *domain) argument 1170 get_old_shadow(char *name, char *domain) argument 1277 write_shadow_info(char *domain, struct spwd *sp) argument [all...] |
H A D | dit_access_utils.c | 60 * Returns 'map,domain.' 63 getFullMapName(char *map, char *domain) { argument 66 if (map == 0 || domain == 0) { 70 scat(myself, F, domain, ".")); 250 int *nv, char *domain, bool_t readonly, int *statP) { 269 if (addCol2RuleValue(vt_string, N2LDOMAIN, domain, strlen(domain), 408 domain, statP); 490 * ("(%s,%s,%s)", host, user, domain), 495 * (i.e host, user, domain, grou 249 datumToRuleValue(datum *key, datum *value, __nis_table_mapping_t *t, int *nv, char *domain, bool_t readonly, int *statP) argument 507 addSplitFieldValues(__nis_table_mapping_t *t, __nis_rule_value_t *rv, __nis_rule_value_t *trv, int numVals, char *domain) argument 646 buildNISRuleValue(__nis_table_mapping_t *t, __nis_rule_value_t *rv, char *domain) argument 939 mappingFromMap(char *map, char *domain, int *statP) argument 1007 singleReadFromDIT(char *map, char *domain, datum *key, datum *value, int *statP) argument 1210 singleWriteToDIT(char *map, char *domain, datum *key, datum *value, bool_t replace) argument 1605 makeNISObject(char *domain, char *dn) argument 1879 addNISObject(char *domain, char *dn, int *ldap_rc) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_real.c | 58 _real_gettext_u(const char *domain, const char *msgid1, const char *msgid2, argument 76 domain ? domain : "NULL", msgid1 ? msgid1 : "NULL", 108 * Query the current domain if domain argument is NULL pointer 111 if (domain == NULL) { 114 * use the currently bound domain. 117 } else if (!*domain) { 123 cur_domain = (char *)domain; 128 /* domain i 638 _real_bindtextdomain_u(const char *domain, const char *binding, int type) argument 758 _textdomain_u(const char *domain, char *result) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 111 static char *domain; local 113 if (domain == NULL) { 116 domain = exmalloc(SYS_NMLN); 117 ssize = sysinfo(SI_SRPC_DOMAIN, domain, SYS_NMLN); 119 free(domain); 120 domain = exmalloc(ssize); 121 ssize = sysinfo(SI_SRPC_DOMAIN, domain, ssize); 123 /* Check for error in syscall or NULL domain name */ 125 syslog(LOG_ERR, "No default domain set"); 168 1, &domain)) [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | locale.c | 134 * /usr/lib/locale/`locale'/LC_MESSAGES/`domain'.mo 144 const char *domain = dom->dom_name; local 155 glcs[CI_LCMESSAGES].lc_un.lc_ptr, domain); 209 * SUNW_OST_SGS domain is assumed. dgettext() calls originate from 213 * If ld.so.1's dependencies evolve to require more then the `domain' array 217 dgettext(const char *domain, const char *msgid) argument 258 * Determine which domain we need. 261 if (_domain->dom_name == domain) 263 if (strcmp(_domain->dom_name, domain) == 0) 270 * Determine if the domain ha [all...] |
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | nis_common.c | 150 _nss_nis_ypmatch(domain, map, key, valp, vallenp, ypstatusp) 151 const char *domain; 167 ypstatus = __yp_match_cflookup((grrr)domain, (grrr)map, 186 _nss_nis_ypmatch_rsvdport(domain, map, key, valp, vallenp, ypstatusp) 187 const char *domain; 203 ypstatus = __yp_match_rsvdport_cflookup((grrr)domain, (grrr)map, 231 if ((res = _nss_nis_ypmatch(be->domain, map, key, &val, &vallen, 287 if ((res = _nss_nis_ypmatch_rsvdport(be->domain, map, key, &val, 338 ypstatus = __yp_first_cflookup((grrr)be->domain, 343 ypstatus = __yp_next_cflookup((grrr)be->domain, 583 char *domain; local 618 const char *domain; local [all...] |
H A D | getnetgrent.c | 194 const char *domain; /* (default) YP domain */ member in struct:nis_netgr_be 370 result = _nss_nis_ypmatch(be->domain, "netgroup", group, 427 /* Main case: a (machine, user, domain) triple */ 663 makekey(key, name, domain) 666 const char *domain; 671 while (*key++ = *domain++) 676 makekey_lc(key, name, domain) 679 const char *domain; /* But not this */ 692 while (*key++ = *domain 721 const char *domain = ia->arg[NSS_NETGR_DOMAIN].argv[0]; local 880 const char *domain; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 495 * do a domain name suffix comparison. 561 static char *domain = NULL; local 563 if (domain == NULL) { 566 domain = malloc(SYS_NMLN); 567 if (domain == NULL) 570 ssize = sysinfo(SI_SRPC_DOMAIN, domain, SYS_NMLN); 572 free(domain); 573 domain = malloc(ssize); 574 if (domain == NULL) 576 ssize = sysinfo(SI_SRPC_DOMAIN, domain, ssiz 852 smb_name_validate_domain(const char *domain) argument 1035 smb_name_parse(char *arg, char **account, char **domain) argument [all...] |
H A D | smb_auth.c | 249 * and the NETBIOS name of the domain. 381 char *domain, 396 dest[0] = domain; 397 if ((dest[1] = strdup(domain)) == NULL) 413 * For Windows Server 2003, the domain name needs to be included and 414 * converted to uppercase. For Vista, the domain name needs to be 456 char *domain, 467 dest[0] = domain; 468 if ((dest[1] = strdup(domain)) == NULL) 484 * For Windows Server 2003, the domain nam 376 smb_ntlmv2_password_ok( unsigned char *challenge, unsigned char *ntlm_hash, unsigned char *passwd, int pwdlen, char *domain, char *username, uchar_t *session_key) argument 452 smb_lmv2_password_ok( unsigned char *srv_challenge, unsigned char *ntlm_hash, unsigned char *passwd, char *domain, char *username) argument 518 smb_auth_validate( smb_passwd_t *smbpw, char *domain, char *username, unsigned char *challenge, uint_t clen, unsigned char *nt_resp, uint_t nt_len, unsigned char *lm_resp, uint_t lm_len, uchar_t *session_key) argument [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_join.c | 87 * Update our domain (and current DC) information. 142 syslog(LOG_DEBUG, "smbd_dc_monitor: no domain info"); 235 * Locate a domain controller in the current resource domain and Update 238 * The domain configuration will be updated upon successful DC discovery. 243 char domain[MAXHOSTNAMELEN]; local 249 * Don't want this active until we're a domain member. 254 if (smb_getfqdomainname(domain, MAXHOSTNAMELEN) != 0) 257 if (domain[0] == '\0') { 259 "smbd_dc_update: no domain nam [all...] |
H A D | smbd_logon.c | 92 char *domain; local 119 domain = tmp_user.lg_e_domain; 128 domain = token->tkn_domain_name; 168 event->adt_smbd_session.domain = domain; 189 entry->sa_domain = strdup(domain); 255 event->adt_smbd_logoff.domain = entry->sa_domain;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_attr.c | 67 * Convert a domain name ("x.y.z.", say) to a "dc=..." type LDAP equivalent 68 * ("dc=x,dc=y,dx=z"). The domain name supplied MUST be terminated by a 69 * trailing dot. If 'domain' is NULL, the value of "nisplusLDAPbaseDomain" 73 domain2base(char *domain) { argument 78 if (domain == 0) 79 domain = sdup(myself, T, proxyInfo.default_nis_domain); 80 if (domain == 0) 83 for (l = 0, i = 0; domain[i] != '\0'; i++) { 84 if (domain[i] == '.') { 85 domain[ [all...] |