/illumos-gate/usr/src/lib/libwrap/ |
H A D | workarounds.c | 41 #if (MAXHOSTNAMELEN < 64) 42 #undef MAXHOSTNAMELEN 47 #ifndef MAXHOSTNAMELEN 48 #define MAXHOSTNAMELEN 256 /* storage for host name */ macro 199 static char mydomain[MAXHOSTNAMELEN]; 202 return (getdomainname(mydomain, MAXHOSTNAMELEN));
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dssetup_svc.c | 153 char dns_domain[MAXHOSTNAMELEN]; in dssetup_member_server() 154 char nt_domain[MAXHOSTNAMELEN]; in dssetup_member_server() 177 if (smb_getdomainname(nt_domain, MAXHOSTNAMELEN) != 0) { in dssetup_member_server() 182 if (smb_getfqdomainname(dns_domain, MAXHOSTNAMELEN) != 0) { in dssetup_member_server() 219 char nt_domain[MAXHOSTNAMELEN]; in dssetup_standalone_server() 221 if (smb_getdomainname(nt_domain, MAXHOSTNAMELEN) != 0) in dssetup_standalone_server()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_localhost.c | 40 #ifndef MAXHOSTNAMELEN 41 #define MAXHOSTNAMELEN 64 macro 46 char buf[MAXHOSTNAMELEN+1], *ptr; in g_local_host_name()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | unistd.c | 36 static char hostname[MAXHOSTNAMELEN] = "UNKNOWN"; 44 (void) strlcpy(name, hostname, MIN(namelen, MAXHOSTNAMELEN)); in gethostname() 54 (void) strlcpy(hostname, name, MIN(namelen + 1, MAXHOSTNAMELEN)); in sethostname()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 68 #ifndef MAXHOSTNAMELEN 69 #define MAXHOSTNAMELEN 256 macro 270 char hostname[MAXHOSTNAMELEN + 1]; in host2netname() 271 char domainname[MAXHOSTNAMELEN + 1]; in host2netname() 308 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0) in host2netname()
|
H A D | clnt_simple.c | 49 #ifndef MAXHOSTNAMELEN 50 #define MAXHOSTNAMELEN 64 macro 63 char host[MAXHOSTNAMELEN]; /* Servers host */ 149 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) && in rpc_call()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.h | 70 #ifndef MAXHOSTNAMELEN 71 #define MAXHOSTNAMELEN 64 /* if we can't find it elswhere */ macro 82 #define MAXDNAME (16 * MAXHOSTNAMELEN)
|
H A D | def_realm.c | 63 #ifndef MAXHOSTNAMELEN 64 #define MAXHOSTNAMELEN 64 macro 67 #define MAX_DNS_NAMELEN (15*(MAXHOSTNAMELEN + 1)+1)
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent6.c | 87 char hostname[3 * MAXHOSTNAMELEN]; in getbyname() 115 char host[MAXHOSTNAMELEN]; in getbyname() 116 char domain[MAXHOSTNAMELEN]; in getbyname() 117 char hname[3 * MAXHOSTNAMELEN]; in getbyname()
|
H A D | gethostent.c | 268 char hostname[3 * MAXHOSTNAMELEN]; in getbyname() 296 char host[MAXHOSTNAMELEN]; in getbyname() 297 char domain[MAXHOSTNAMELEN]; in getbyname() 298 char hname[3 * MAXHOSTNAMELEN]; in getbyname()
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 418 char host[MAXHOSTNAMELEN]; /* result host name */ in _nss_dns_gethost_withttl() 419 char ans[MAXHOSTNAMELEN]; /* record name */ in _nss_dns_gethost_withttl() 420 char aname[MAXHOSTNAMELEN]; /* alias result (C_NAME) */ in _nss_dns_gethost_withttl() 608 n = dn_expand(bom, eom, cp, host, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl() 625 n = dn_expand(bom, eom, cp, ans, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl() 667 n = dn_expand(bom, eor, cp, aname, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl() 687 if (strlcpy(host, aname, MAXHOSTNAMELEN) >= in _nss_dns_gethost_withttl() 688 MAXHOSTNAMELEN) { in _nss_dns_gethost_withttl()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | hostname.c | 16 static char hostbuf[MAXHOSTNAMELEN+1]; 52 hostbuf[MAXHOSTNAMELEN] = '\0';
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | libsmb.h | 248 char domain_name[MAXHOSTNAMELEN]; 249 char container_name[MAXHOSTNAMELEN]; 258 char dc_name[MAXHOSTNAMELEN]; 615 char ddi_forest[MAXHOSTNAMELEN]; 627 char di_fqname[MAXHOSTNAMELEN]; 650 char dc_name[MAXHOSTNAMELEN]; 790 char nic_host[MAXHOSTNAMELEN];
|
H A D | smb_domain.c | 517 (void) strlcpy(di->di_fqname, fq_domain, MAXHOSTNAMELEN); in smb_domain_set_basic_info() 530 (void) strlcpy(di->di_u.di_dns.ddi_forest, forest, MAXHOSTNAMELEN); in smb_domain_set_dns_info() 575 char fq_name[MAXHOSTNAMELEN]; in smb_domain_add_local() 588 (void) smb_getfqhostname(fq_name, MAXHOSTNAMELEN); in smb_domain_add_local() 603 char fq_name[MAXHOSTNAMELEN]; in smb_domain_add_primary() 620 (void) smb_getfqdomainname(fq_name, MAXHOSTNAMELEN); in smb_domain_add_primary()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPGetRefreshInterval.c | 51 char hostname[MAXHOSTNAMELEN]; /* name of this host */ in SLPGetRefreshInterval() 63 (void) gethostname(hostname, MAXHOSTNAMELEN); in SLPGetRefreshInterval()
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | ksmb.c | 61 char fqdn[MAXHOSTNAMELEN], server[MAXHOSTNAMELEN]; in main()
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_dyndns.c | 93 char dqe_fqdn[MAXHOSTNAMELEN]; 157 char fqdn[MAXHOSTNAMELEN]; in dyndns_clear_zones() 159 if (smb_getfqdomainname(fqdn, MAXHOSTNAMELEN) != 0) { in dyndns_clear_zones() 173 char fqdn[MAXHOSTNAMELEN]; in dyndns_update_zones() 175 if (smb_getfqdomainname(fqdn, MAXHOSTNAMELEN) != 0) { in dyndns_update_zones() 1160 char *key_name, dns_hostname[MAXHOSTNAMELEN]; in dyndns_get_sec_context() 2022 char fqhn[MAXHOSTNAMELEN]; in dyndns_update_core() 2033 if (smb_gethostname(fqhn, MAXHOSTNAMELEN, SMB_CASE_LOWER) != 0) in dyndns_update_core() 2036 (void) strlcat(fqhn, ".", MAXHOSTNAMELEN); in dyndns_update_core() 2037 (void) strlcat(fqhn, fqdn, MAXHOSTNAMELEN); in dyndns_update_core() [all …]
|
H A D | smbns_netbios_cache.c | 148 unsigned char hostname[MAXHOSTNAMELEN]; in smb_netbios_cache_lookup() 668 char buf[MAXHOSTNAMELEN]; in smb_netbios_name_dump() 695 char namebuf[MAXHOSTNAMELEN]; in smb_netbios_name_logf() 775 char tmp[MAXHOSTNAMELEN]; in smb_strname() 778 (void) snprintf(tmp, MAXHOSTNAMELEN, "%15.15s", entry->name); in smb_strname() 783 (void) strlcat(tmp, ".", MAXHOSTNAMELEN); in smb_strname() 784 (void) strlcat(tmp, (char *)entry->scope, MAXHOSTNAMELEN); in smb_strname()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | netrauth.h | 178 char server[MAXHOSTNAMELEN]; /* Current DC, FQDN */ 181 char fqdn_domain[MAXHOSTNAMELEN]; /* Current Domain */
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.h | 146 char vso_host[MAXHOSTNAMELEN]; 212 char vsc_host[MAXHOSTNAMELEN];
|
/illumos-gate/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_password.c | 328 char kprinc[2*MAXHOSTNAMELEN]; in krb5_verifypw() 341 2*MAXHOSTNAMELEN)) != 0) { in krb5_verifypw() 428 char kprinc[2*MAXHOSTNAMELEN]; in krb5_changepw() 440 2*MAXHOSTNAMELEN)) != 0) { in krb5_changepw()
|
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | config.h | 433 #ifndef MAXHOSTNAMELEN 434 #define MAXHOSTNAMELEN 255 macro
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_ntlmssp.c | 161 #if (MAXHOSTNAMELEN < NETBIOS_NAME_SZ) 173 char tmp_name[MAXHOSTNAMELEN]; in smbd_ntlmssp_negotiate() 321 if (smb_gethostname(tmp_name, MAXHOSTNAMELEN, SMB_CASE_LOWER)) in smbd_ntlmssp_negotiate() 339 if (smb_getfqhostname(tmp_name, MAXHOSTNAMELEN)) in smbd_ntlmssp_negotiate() 345 if (smb_getfqdomainname(tmp_name, MAXHOSTNAMELEN)) in smbd_ntlmssp_negotiate()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 126 static char hostname[MAXHOSTNAMELEN]; in rcmd_af() 154 (void) strlcpy(hostname, res->ai_canonname, MAXHOSTNAMELEN); in rcmd_af() 557 char fhost[MAXHOSTNAMELEN]; in ruserok() 779 ldomain = (char *)malloc(MAXHOSTNAMELEN+1); in _checkhost() 798 if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) { in _checkhost() 802 ldomain[MAXHOSTNAMELEN] = '\0'; in _checkhost()
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | expreserve.c | 400 #define MAXHOSTNAMELEN 256 in notify() macro 406 char hostname[MAXHOSTNAMELEN]; in notify() 407 int namelen = MAXHOSTNAMELEN ; in notify()
|