Home
last modified time | relevance | path

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

12345678

/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_domain.c56 char sdl_dc[MAXHOSTNAMELEN];
134 (void) strlcpy(smb_dclocator.sdl_dc, dc, MAXHOSTNAMELEN); in smb_locate_dc()
199 char sought_dc[MAXHOSTNAMELEN]; in smb_ddiscover_service()
210 (void) strlcpy(sought_dc, smb_dclocator.sdl_dc, MAXHOSTNAMELEN); in smb_ddiscover_service()
271 if (!smb_ads_lookup_msdcs(domain, server, dxi->d_dc, MAXHOSTNAMELEN)) in smb_ddiscover_dns()
295 char dnsdomain[MAXHOSTNAMELEN]; in smb_ddiscover_nbt()
300 if (!smb_browser_netlogon(domain, dxi->d_dc, MAXHOSTNAMELEN)) { in smb_ddiscover_nbt()
302 MAXHOSTNAMELEN)) in smb_ddiscover_nbt()
306 MAXHOSTNAMELEN)) in smb_ddiscover_nbt()
325 dxi->d_dc, MAXHOSTNAMELEN) == 0) in smb_ddiscover_nbt()
[all …]
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_44/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_join.c66 MAXHOSTNAMELEN); in smbd_dc_monitor_init()
84 char site[MAXHOSTNAMELEN]; in smbd_dc_monitor_refresh()
89 (void) smb_config_getstr(SMB_CI_ADS_SITE, site, MAXHOSTNAMELEN); in smbd_dc_monitor_refresh()
97 (void) strlcpy(smbd.s_site, site, MAXHOSTNAMELEN); in smbd_dc_monitor_refresh()
165 char domain[MAXHOSTNAMELEN]; in smbd_dc_update()
170 if (smb_getfqdomainname(domain, MAXHOSTNAMELEN) != 0) { in smbd_dc_update()
171 (void) smb_getdomainname(domain, MAXHOSTNAMELEN); in smbd_dc_update()
/titanic_44/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_44/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_44/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_44/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.c60 #ifndef MAXHOSTNAMELEN
61 #define MAXHOSTNAMELEN 64 macro
64 #define MAX_DNS_NAMELEN (15*(MAXHOSTNAMELEN + 1)+1)
/titanic_44/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_44/usr/src/cmd/ssh/include/
H A Dbsd-cray.h56 #ifndef MAXHOSTNAMELEN
57 #define MAXHOSTNAMELEN 64 macro
/titanic_44/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_44/usr/src/cmd/ipf/lib/common/
H A Dhostname.c18 static char hostbuf[MAXHOSTNAMELEN+1];
54 hostbuf[MAXHOSTNAMELEN] = '\0';
/titanic_44/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_44/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_44/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_44/usr/src/cmd/krb5/kadmin/kclient/
H A Dksmb.c63 char c, fqdn[MAXHOSTNAMELEN], server[MAXHOSTNAMELEN]; in main()
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_domain.c77 char dc_server[MAXHOSTNAMELEN];
475 (void) strlcpy(di->di_fqname, fq_domain, MAXHOSTNAMELEN); in smb_domain_set_basic_info()
487 (void) strlcpy(di->di_u.di_dns.ddi_forest, forest, MAXHOSTNAMELEN); in smb_domain_set_dns_info()
531 char fq_name[MAXHOSTNAMELEN]; in smb_domain_add_local()
543 (void) smb_getfqhostname(fq_name, MAXHOSTNAMELEN); in smb_domain_add_local()
558 char fq_name[MAXHOSTNAMELEN]; in smb_domain_add_primary()
574 (void) smb_getfqdomainname(fq_name, MAXHOSTNAMELEN); in smb_domain_add_primary()
H A Dsmb_info.c198 char hostname[MAXHOSTNAMELEN]; in smb_getfqhostname()
199 char domain[MAXHOSTNAMELEN]; in smb_getfqhostname()
204 if (smb_gethostname(hostname, MAXHOSTNAMELEN, in smb_getfqhostname()
208 if (smb_getfqdomainname(domain, MAXHOSTNAMELEN) != 0) in smb_getfqhostname()
/titanic_44/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_44/usr/src/cmd/vscan/vscand/
H A Dvs_icap.h148 char vso_host[MAXHOSTNAMELEN];
214 char vsc_host[MAXHOSTNAMELEN];
/titanic_44/usr/src/lib/libsasl/include/
H A Dconfig.h435 #ifndef MAXHOSTNAMELEN
436 #define MAXHOSTNAMELEN 255 macro
/titanic_44/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_44/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