Home
last modified time | relevance | path

Searched refs:MAXHOSTNAMELEN (Results 1 – 25 of 198) sorted by relevance

12345678

/titanic_50/usr/src/lib/libwrap/
H A Dworkarounds.c42 #if (MAXHOSTNAMELEN < 64)
43 #undef MAXHOSTNAMELEN
48 #ifndef MAXHOSTNAMELEN
49 #define MAXHOSTNAMELEN 256 /* storage for host name */ macro
200 static char mydomain[MAXHOSTNAMELEN];
203 return (getdomainname(mydomain, MAXHOSTNAMELEN));
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddssetup_svc.c152 char dns_domain[MAXHOSTNAMELEN]; in dssetup_member_server()
153 char nt_domain[MAXHOSTNAMELEN]; in dssetup_member_server()
176 if (smb_getdomainname(nt_domain, MAXHOSTNAMELEN) != 0) { in dssetup_member_server()
181 if (smb_getfqdomainname(dns_domain, MAXHOSTNAMELEN) != 0) { in dssetup_member_server()
218 char nt_domain[MAXHOSTNAMELEN]; in dssetup_standalone_server()
220 if (smb_getdomainname(nt_domain, MAXHOSTNAMELEN) != 0) in dssetup_standalone_server()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_localhost.c42 #ifndef MAXHOSTNAMELEN
43 #define MAXHOSTNAMELEN 64 macro
48 char buf[MAXHOSTNAMELEN+1], *ptr; in g_local_host_name()
/titanic_50/usr/src/stand/lib/sa/
H A Dunistd.c36 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()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.h70 #ifndef MAXHOSTNAMELEN
71 #define MAXHOSTNAMELEN 64 /* if we can't find it elswhere */ macro
82 #define MAXDNAME (16 * MAXHOSTNAMELEN)
H A Ddef_realm.c62 #ifndef MAXHOSTNAMELEN
63 #define MAXHOSTNAMELEN 64 macro
66 #define MAX_DNS_NAMELEN (15*(MAXHOSTNAMELEN + 1)+1)
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dnetname.c68 #ifndef MAXHOSTNAMELEN
69 #define MAXHOSTNAMELEN 256 macro
272 char hostname[MAXHOSTNAMELEN + 1]; in host2netname()
273 char domainname[MAXHOSTNAMELEN + 1]; in host2netname()
310 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0) in host2netname()
H A Dclnt_simple.c51 #ifndef MAXHOSTNAMELEN
52 #define MAXHOSTNAMELEN 64 macro
65 char host[MAXHOSTNAMELEN]; /* Servers host */
151 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) && in rpc_call()
/titanic_50/usr/src/cmd/ssh/include/
H A Dbsd-cray.h56 #ifndef MAXHOSTNAMELEN
57 #define MAXHOSTNAMELEN 64 macro
/titanic_50/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c89 char hostname[3 * MAXHOSTNAMELEN]; in getbyname()
117 char host[MAXHOSTNAMELEN]; in getbyname()
118 char domain[MAXHOSTNAMELEN]; in getbyname()
119 char hname[3 * MAXHOSTNAMELEN]; in getbyname()
H A Dgethostent.c270 char hostname[3 * MAXHOSTNAMELEN]; in getbyname()
298 char host[MAXHOSTNAMELEN]; in getbyname()
299 char domain[MAXHOSTNAMELEN]; in getbyname()
300 char hname[3 * MAXHOSTNAMELEN]; in getbyname()
/titanic_50/usr/src/cmd/ipf/lib/common/
H A Dhostname.c18 static char hostbuf[MAXHOSTNAMELEN+1];
54 hostbuf[MAXHOSTNAMELEN] = '\0';
/titanic_50/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c425 char host[MAXHOSTNAMELEN]; /* result host name */ in _nss_dns_gethost_withttl()
426 char ans[MAXHOSTNAMELEN]; /* record name */ in _nss_dns_gethost_withttl()
427 char aname[MAXHOSTNAMELEN]; /* alias result (C_NAME) */ in _nss_dns_gethost_withttl()
615 n = dn_expand(bom, eom, cp, host, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl()
632 n = dn_expand(bom, eom, cp, ans, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl()
674 n = dn_expand(bom, eor, cp, aname, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl()
694 if (strlcpy(host, aname, MAXHOSTNAMELEN) >= in _nss_dns_gethost_withttl()
695 MAXHOSTNAMELEN) { in _nss_dns_gethost_withttl()
/titanic_50/usr/src/lib/libbc/libc/net/
H A Drcmd.c204 char fhost[MAXHOSTNAMELEN]; in ruserok()
281 char ahost[MAXHOSTNAMELEN]; in _validuser()
355 ldomain = (char *)malloc(MAXHOSTNAMELEN+1); in _checkhost()
374 if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) { in _checkhost()
378 ldomain[MAXHOSTNAMELEN] = NULL; in _checkhost()
/titanic_50/usr/src/cmd/krb5/kadmin/kclient/
H A Dksmb.c63 char c, fqdn[MAXHOSTNAMELEN], server[MAXHOSTNAMELEN]; in main()
/titanic_50/usr/src/lib/libslp/clib/
H A DSLPGetRefreshInterval.c53 char hostname[MAXHOSTNAMELEN]; /* name of this host */ in SLPGetRefreshInterval()
65 (void) gethostname(hostname, MAXHOSTNAMELEN); in SLPGetRefreshInterval()
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrboot.c272 char fromname[MAXHOSTNAMELEN], toname[MAXHOSTNAMELEN];
277 bzero(&fromname, MAXHOSTNAMELEN);
278 bzero(&toname, MAXHOSTNAMELEN);
287 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN);
292 MAXHOSTNAMELEN);
309 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN);
314 MAXHOSTNAMELEN);
/titanic_50/usr/src/cmd/vscan/vscand/
H A Dvs_icap.h148 char vso_host[MAXHOSTNAMELEN];
214 char vsc_host[MAXHOSTNAMELEN];
/titanic_50/usr/src/lib/libsasl/include/
H A Dconfig.h435 #ifndef MAXHOSTNAMELEN
436 #define MAXHOSTNAMELEN 255 macro
/titanic_50/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_join.c69 MAXHOSTNAMELEN); in smbd_dc_monitor_init()
243 char domain[MAXHOSTNAMELEN]; in smbd_dc_update()
254 if (smb_getfqdomainname(domain, MAXHOSTNAMELEN) != 0) in smbd_dc_update()
H A Dsmbd_ntlmssp.c161 #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()
/titanic_50/usr/src/lib/pam_modules/krb5/
H A Dkrb5_password.c330 char kprinc[2*MAXHOSTNAMELEN]; in krb5_verifypw()
343 2*MAXHOSTNAMELEN)) != 0) { in krb5_verifypw()
430 char kprinc[2*MAXHOSTNAMELEN]; in krb5_changepw()
442 2*MAXHOSTNAMELEN)) != 0) { in krb5_changepw()
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dlibsmb.h231 char domain_name[MAXHOSTNAMELEN];
241 char dc_name[MAXHOSTNAMELEN];
594 char ddi_forest[MAXHOSTNAMELEN];
606 char di_fqname[MAXHOSTNAMELEN];
629 char dc_name[MAXHOSTNAMELEN];
765 char nic_host[MAXHOSTNAMELEN];
H A Dsmb_domain.c476 (void) strlcpy(di->di_fqname, fq_domain, MAXHOSTNAMELEN); in smb_domain_set_basic_info()
488 (void) strlcpy(di->di_u.di_dns.ddi_forest, forest, MAXHOSTNAMELEN); in smb_domain_set_dns_info()
532 char fq_name[MAXHOSTNAMELEN]; in smb_domain_add_local()
544 (void) smb_getfqhostname(fq_name, MAXHOSTNAMELEN); in smb_domain_add_local()
559 char fq_name[MAXHOSTNAMELEN]; in smb_domain_add_primary()
575 (void) smb_getfqdomainname(fq_name, MAXHOSTNAMELEN); in smb_domain_add_primary()
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c148 unsigned char hostname[MAXHOSTNAMELEN]; in smb_netbios_cache_lookup()
665 char buf[MAXHOSTNAMELEN]; in smb_netbios_name_dump()
692 char namebuf[MAXHOSTNAMELEN]; in smb_netbios_name_logf()
772 char tmp[MAXHOSTNAMELEN]; in smb_strname()
775 (void) snprintf(tmp, MAXHOSTNAMELEN, "%15.15s", entry->name); in smb_strname()
780 (void) strlcat(tmp, ".", MAXHOSTNAMELEN); in smb_strname()
781 (void) strlcat(tmp, (char *)entry->scope, MAXHOSTNAMELEN); in smb_strname()

12345678