/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netlogon.c | 26 * This module handles the primary domain controller location protocol. 48 char *domain); 53 static void smb_netlogon_send(struct name_entry *name, char *domain, 70 * This is the entry point locating the resource domain PDC. A netlogon 72 * Note that we need to know the domain SID in order to use the samlogon 79 smb_netlogon_request(struct name_entry *server, char *domain) argument 85 if (domain == NULL || *domain == '\0') 89 (void) strlcpy(ntdomain_info.n_domain, domain, 94 if (smb_strcasecmp(di.di_nbname, domain, 138 char *domain; local 269 smb_netlogon_query(struct name_entry *server, char *mailbox, char *domain) argument 346 smb_netlogon_samlogon(struct name_entry *server, char *mailbox, char *domain, smb_sid_t *domain_sid) argument 433 smb_netlogon_send(struct name_entry *name, char *domain, unsigned char *buffer, int count) argument [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | request.c | 700 dn2servers( LDAP *ld, char *dn ) /* dn can also be a domain.... */ 702 char *p, *domain, *host, *server_dn, **dxs; local 706 if (( domain = strrchr( dn, '@' )) != NULL ) { 707 ++domain; 709 domain = dn; 712 if (( dxs = getdxbyname( domain )) == NULL ) {
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_parse.c | 111 char *domain = am(myself, len+2); local 113 (void) memcpy(domain, proxyInfo.default_nis_domain, 115 domain[len] = '.'; 116 domain[len+1] = '\0'; 118 proxyInfo.default_nis_domain = domain; 369 * Removes the local domain part from a fully qualified name 449 * This internal function will remove from the NIS name, the domain 496 /* Insert a NUL where the domain name starts in the string */
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 44 * the Sun NIS domain architecture. 258 char *domain; local 263 domain = strchr(netname, '@'); 264 if (!domain) { 270 domain++; 272 yperr = yp_match(domain, (char *)NETID, netname, strlen(netname), 300 * group data. This works only for users in a single domain. 482 domainname = strchr(p, '@'); /* get domain name */ 506 /* make into fully qualified hostname by concatenating domain part */
|
/osnet-11/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 59 char *domain; member in struct:cache 83 if (n->domain != 0) 84 free(n->domain); 92 makenode(char *domain, char *map, int keylen, int vallen) argument 102 if (((n->domain = strdup(domain)) == 0) || 118 in_cache(char *domain, char *map, char *key, int keylen, char **val, argument 137 (strcmp(domain, c->domain) == 0)) { 166 * Requests the yp server associated with a given domain t 172 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument 299 yp_match( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 350 __yp_match_rsvdport_cflookup( char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument 484 yp_match_rsvdport( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 502 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument [all...] |
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | samr_clnt.c | 31 * - If you want to work with a domain, use the SAM handle. 32 * to obtain a domain handle. 33 * - Use domain handles to obtain user handles etc. 36 * null handle may crash the domain controller if you attempt to use it. 72 * and domain. We default to the resource domain if the caller doesn't 73 * supply a server name and a domain name. 81 samr_open(char *server, char *domain, char *username, DWORD access_mask, argument 87 if (server == NULL || domain == NULL) { 92 domain 116 samr_connect(char *server, char *domain, char *username, DWORD access_mask, mlsvc_handle_t *samr_handle) argument 155 samr_connect1(char *server, char *domain, char *username, DWORD access_mask, mlsvc_handle_t *samr_handle) argument 198 samr_connect2(char *server, char *domain, char *username, DWORD access_mask, mlsvc_handle_t *samr_handle) argument 235 samr_connect4(char *server, char *domain, char *username, DWORD access_mask, mlsvc_handle_t *samr_handle) argument 279 samr_connect5(char *server, char *domain, char *username, DWORD access_mask, mlsvc_handle_t *samr_handle) argument [all...] |
H A D | lsar_clnt.c | 154 lsar_open(char *server, char *domain, char *username, argument 161 rc = ndr_rpc_bind(lsa_handle, server, domain, username, "LSARPC"); 321 * information to be queried on the domain controller. The only 327 * indicating that the domain name and domain sid fields are vaild. If 491 * domain\username 492 * domain/username 494 * username@domain 518 * Lookup a name and obtain the domain and user rid. 689 * This function is only valid if the remote RPC server is a domain [all...] |
H A D | srvsvc_clnt.c | 59 srvsvc_open(char *server, char *domain, char *username, mlsvc_handle_t *handle) argument 63 if (server == NULL || domain == NULL) { 68 domain = di.d_primary.di_nbname; 71 if (ndr_rpc_bind(handle, server, domain, username, "SRVSVC") < 0) 152 srvsvc_net_share_enum(char *server, char *domain, uint32_t level, argument 172 if (srvsvc_open(server, domain, user, &handle) != 0) 237 srvsvc_net_share_get_info(char *server, char *domain, char *netname, argument 254 if (srvsvc_open(server, domain, user, &handle) != 0) 331 srvsvc_net_files_enum(char *server, char *domain, char *basepath, argument 348 rc = srvsvc_open(server, domain, use 456 srvsvc_net_connect_enum(char *server, char *domain, char *qualifier, uint32_t level, srvsvc_list_t *sl) argument 580 srvsvc_net_session_enum(char *server, char *domain, char *clientname, char *username, uint32_t level, srvsvc_list_t *sl) argument 660 srvsvc_net_server_getinfo(char *server, char *domain, srvsvc_server_info_t *svinfo) argument 799 srvsvc_net_remote_tod(char *server, char *domain, struct timeval *tv, struct tm *tm) argument 884 srvsvc_net_test(char *server, char *domain, char *netname) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 176 * name[/node][@security-domain] 178 * Then optional security-domain will represent secure rpc domain if 179 * present. If not present the local domain will be used. name is the 184 * the security domain (secure rpc domain). 191 char *user, *node, *domain; local 223 /* Now see if there is a domain */ 224 domain = strchr(node, '@'); 227 /* Check for a domain */ [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_solaris.c | 115 * where domain is the domain used to fully qualify the hostname for 131 * different, see krb5envvar(5)) file when the client belongs to an AD domain. 132 * The keytab file is populated differently for an AD domain as the various 146 * e.g. host/<str15>.<domain>@<realm>. The realm name is determined by parsing 158 k5_kt_add_ad_entries(krb5_context ctx, char **sprincs_str, char *domain, argument 171 assert(password != NULL && domain != NULL); 198 * host/str15.domain@realm 200 t_len = snprintf(NULL, 0, "host/%.*s.%s@%s", HOST_TRUNC, token, domain, 207 domain, real [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | conv_princ.c | 174 * instance's domain name if requested. 257 char *domain, *cp; local 330 retval = krb5_get_realm_domain(context, realm, &domain); 333 if (domain) { 334 for (cp = domain; *cp; cp++) 338 strncat(buf, domain, sizeof(buf) - 1 - strlen(buf)); 339 free(domain);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hst_realm.c | 59 * Given a fully-qualified domain-style primary host name, 61 * If the hostname contains no discernable domain, or an error occurs, 63 * If the hostname contains a domain, but no translation is found, 64 * the hostname's domain is converted to upper-case and returned. 89 domain_heuristic(krb5_context context, const char *domain, 151 Search for the best match for the host or domain. 316 * Next try searching the domain components as realms. This 319 * control which domain component is used as the realm for a host. 336 * configuration--is to use the upper-cased parent domain of the 400 from the current domain 453 domain_heuristic(krb5_context context, const char *domain, char **realm, int limit) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | SMTP.pm | 85 sub domain subroutine 152 my $domain = shift || "localhost.localdomain"; 153 my $ok = $me->_EHLO($domain); 168 if $ok = $me->_HELO($domain); 534 This example prints the mail domain name of the SMTP server known as mailhost: 541 print $smtp->domain,"\n"; 583 specifies a string to pass as your mail domain. If not 603 Hello => 'my.mail.domain' 624 =item domain () 626 Returns the domain tha [all...] |
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | gettext_util.c | 70 * binding - directory pathname bound to specified domain 73 * domain - domain name 75 * domain_len - length of domain name 121 (void) memcpy(p, mp->domain, mp->domain_len); 166 (void) memcpy(suffix, mp->domain, mp->domain_len); 180 * hash_domain - hash id of this domain 244 get_codeset(const char *domain) argument 250 domain ? domain [all...] |
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 57 nssad_cfg_discover_props(const char *domain, ad_disc_t ad_ctx, argument 61 if (ad_disc_set_DomainName(ad_ctx, domain) != 0) 151 nssad_cfg_create(const char *domain) argument 163 if ((cp->props.domain_name = strdup(domain)) == NULL) 165 if (nssad_cfg_discover_props(domain, cp->ad_ctx, &cp->props) < 0) 276 get_cfg(const char *domain) argument 283 * The queue is used to hold our per domain 298 strcasecmp(cp->props.domain_name, domain) != 0) 301 /* Found config for the given domain. */ 337 /* Create new config entry for the domain */ 383 ad_lookup(const char *filter, const char **attrs, const char *domain, adutils_result_t **result) argument [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 137 /* get domain name associated with this dn */ 193 /* append domain name */ 214 /* append domain name */ 289 /* get the domain we are in */ 294 /* Is this a request for a host.domain */ 297 char domain[MAXHOSTNAMELEN]; local 300 /* separate host and domain. this function */ 306 if (chophostdomain(hname, host, domain) == -1) { 310 /* if domain is a proper subset of realdomain */ 311 /* ie. domain [all...] |
/osnet-11/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...] |
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nis.py | 39 SERVICE = 'svc:/network/nis/domain' 66 VALUE_AUTH = 'solaris.smf.value.name-service.nis.domain' 74 Non-existent or empty domain name means no domain.""" 77 domain = self.get_prop_val(prop=self.DOMNAME) variable in class:NisDomain 78 if domain == None or domain == '': 105 # Create domain directory 110 domdir = os.path.join(self.LEGACY_YPBINDDIR, domain) 111 if not os.path.isdir(domdir): # No domain di 189 domain = lines[0] variable in class:NisDomain 319 domain = self.get_prop_val(prop=self.DOMNAME) variable in class:NisDomain [all...] |
/osnet-11/usr/src/lib/passwdutil/ |
H A D | nis_attr.c | 72 char *domain; member in struct:__anon2797 170 * Do not release buf->domain. 264 * Do not release nisbuf->domain. 306 * Do not release nisbuf->domain. 312 if (yp_get_default_domain(&nisbuf->domain) != 0) { 313 syslog(LOG_ERR, "passwdutil.so: can't get domain"); 319 if (yp_master(nisbuf->domain, "passwd.byname", &nisbuf->master) != 0) { 329 nisresult = yp_match(nisbuf->domain, "passwd.byname", name, 360 nisresult = yp_match(nisbuf->domain, "passwd.adjunct.byname",
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_doorclnt.c | 186 * domain. 300 * fqdn (input) - fully-qualified domain name 316 smb_string_t domain; local 329 domain.buf = fqdn; 331 rc = smb_door_call(SMB_DR_ADS_FIND_HOST, &domain, smb_string_xdr, 382 * Get a list of domains and the domain controller of the primary domain.
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 83 static char *domain; variable 666 if (domain == NULL) { 667 (void) usingypmap(&domain, NULL); 720 NULL, domain); 723 NULL, domain); 726 if (innetgr(uchost + 2, rhost, NULL, domain)) 729 if (innetgr(ahost + 2, rhost, NULL, domain)) 746 ruser, domain); 749 innetgr(user+2, NULL, ruser, domain))
|
/osnet-11/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 33 * 'user@domain' (ie. "joeblow@central.sun.com") 34 * 'group@domain' (ie. "staff@central.sun.com") 41 * domain environment has proven a difficult problem to solve, since 44 * utilizing clients and servers that have the 'domain' portion of the 47 * 'nobody' user and group. This is due to the fact that the 'domain's 56 * set, then the nfsmapid daemon queries the configured DNS domain server 58 * record's value is used as the 'domain' portion of the UTF8 attribute 60 * then the daemon falls back to using the DNS domain name itself as the 61 * 'domain' portion of the attribute strings. Lastly, if the configured 63 * the DNS domain nam 1104 char *domain = NULL; local [all...] |
/osnet-11/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 147 char *domain; local 159 domain = ++p; 167 err = __yp_match_cflookup(domain, (char *)PKMAP, netname,
|
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/ |
H A D | BrowserApp.java | 218 String serviceName, String regType, String domain) 220 addCache.add( new BrowserListElem( serviceName, domain, regType, ifIndex)); 226 String serviceName, String regType, String domain) 258 public BrowserListElem( String serviceName, String domain, String type, int ifIndex) argument 259 { fServiceName = serviceName; fDomain = domain; fType = type; fInt = ifIndex; } 336 String serviceName, String regType, String domain) 340 super.serviceFound( browser, flags, ifIndex, this.mapTypeToName( serviceName), regType, domain); 344 String serviceName, String regType, String domain) 347 super.serviceLost( browser, flags, ifIndex, this.mapTypeToName( serviceName), regType, domain); 382 /* Called when a domain i 217 serviceFound( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument 225 serviceLost( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument 335 serviceFound( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument 343 serviceLost( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument 383 domainFound( DNSSDService domainEnum, int flags, int ifIndex, String domain) argument 389 domainLost( DNSSDService domainEnum, int flags, int ifIndex, String domain) argument [all...] |
H A D | SimpleChat.java | 158 String serviceName, String regType, String domain) 260 public TargetListElem( String serviceName, String domain, String type, int ifIndex) argument 261 { fServiceName = serviceName; fDomain = domain; fType = type; fInt = ifIndex; } 273 String serviceName, String regType, String domain) 278 this.addElement( new TargetListElem( serviceName, domain, regType, ifIndex)); 283 String serviceName, String regType, String domain) 157 serviceRegistered( DNSSDRegistration registration, int flags, String serviceName, String regType, String domain) argument 272 serviceFound( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument 282 serviceLost( DNSSDService browser, int flags, int ifIndex, String serviceName, String regType, String domain) argument
|