Searched refs:NETBIOS_NAME_SZ (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_netbios_util.c169 for (len = 0; len < NETBIOS_NAME_SZ; len++) {
273 char name[NETBIOS_NAME_SZ];
280 (void) strlcpy(out, name, NETBIOS_NAME_SZ);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c202 if (buflen >= NETBIOS_NAME_SZ)
203 buf[NETBIOS_NAME_SZ - 1] = '\0';
619 char tmp_name[NETBIOS_NAME_SZ];
620 smb_wchar_t wtmp_name[NETBIOS_NAME_SZ];
625 rc = smb_mbstowcs(wtmp_name, (const char *)name, NETBIOS_NAME_SZ);
628 wtmp_name[NETBIOS_NAME_SZ - 1] = 0;
629 rc = ucstooem(tmp_name, wtmp_name, NETBIOS_NAME_SZ,
635 (void) memset(nb_name, ' ', NETBIOS_NAME_SZ - 1);
640 nb_name[NETBIOS_NAME_SZ - 1] = suffix;
H A Dsmb_util.c937 char netbiosname[NETBIOS_NAME_SZ];
945 if (len == 0 || len >= NETBIOS_NAME_SZ)
951 if (smb_getnetbiosname(netbiosname, NETBIOS_NAME_SZ) == 0) {
982 char netbiosname[NETBIOS_NAME_SZ];
992 if (strlen(workgroup) >= NETBIOS_NAME_SZ)
995 if (smb_getnetbiosname(netbiosname, NETBIOS_NAME_SZ) == 0) {
H A Dsmb_domain.c510 (void) strlcpy(di->di_nbname, nb_domain, NETBIOS_NAME_SZ);
569 char hostname[NETBIOS_NAME_SZ];
576 if (smb_getnetbiosname(hostname, NETBIOS_NAME_SZ) != 0) {
599 char nb_name[NETBIOS_NAME_SZ];
610 rc = smb_config_getstr(SMB_CI_DOMAIN_NAME, nb_name, NETBIOS_NAME_SZ);
H A Dlibsmb.h310 #define SMB_SAMACCT_MAXLEN (NETBIOS_NAME_SZ + 1)
615 char di_nbname[NETBIOS_NAME_SZ];
779 char nic_nbname[NETBIOS_NAME_SZ];
H A Dsmb_nic.c188 nb_hostname, NETBIOS_NAME_SZ - 1) == 0)
H A Dsmb_cfg.c1062 NETBIOS_NAME_SZ);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c37 #define NETBIOS_HKEY_SZ (NETBIOS_NAME_SZ + NETBIOS_DOMAIN_NAME_MAX)
343 (void) memcpy(entry.name, name->name, NETBIOS_NAME_SZ);
412 if ((scan + NETBIOS_NAME_SZ + 2) >= scan_end)
421 bcopy(name->name, scan, NETBIOS_NAME_SZ);
422 scan += NETBIOS_NAME_SZ;
748 (void) memcpy(dup->name, entry->name, NETBIOS_NAME_SZ);
809 res = bcmp(key1, key2, NETBIOS_NAME_SZ);
812 res = strcmp(key1 + NETBIOS_NAME_SZ, key2 + NETBIOS_NAME_SZ);
822 (void) memcpy(key, name, NETBIOS_NAME_SZ);
[all...]
H A Dsmbns_netbios.h175 unsigned char name[NETBIOS_NAME_SZ];
629 (bcmp(name, "*\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", NETBIOS_NAME_SZ) == 0)
H A Dsmbns_netlogon.c277 char hostname[NETBIOS_NAME_SZ];
360 char hostname[NETBIOS_NAME_SZ];
H A Dsmbns_ksetpwd.c524 char nbname[NETBIOS_NAME_SZ];
530 (void) smb_getnetbiosname(nbname, NETBIOS_NAME_SZ);
H A Dsmbns_browser.c59 char hi_nbname[NETBIOS_NAME_SZ];
1162 NETBIOS_NAME_SZ);
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dnetbios.h65 #define NETBIOS_NAME_SZ 16 macro
H A Dnetrauth.h125 char hostname[NETBIOS_NAME_SZ * 2]; /* local "flat" name */
H A Dsmbinfo.h169 char skc_nbdomain[NETBIOS_NAME_SZ];
H A Dsmb_ioctl.h187 char nbdomain[NETBIOS_NAME_SZ];
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c161 #if (MAXHOSTNAMELEN < NETBIOS_NAME_SZ)
162 #error "MAXHOSTNAMELEN < NETBIOS_NAME_SZ"
234 rc = smb_getdomainname(tmp_name, NETBIOS_NAME_SZ);
237 rc = smb_getnetbiosname(tmp_name, NETBIOS_NAME_SZ);
306 if (smb_getnetbiosname(tmp_name, NETBIOS_NAME_SZ))
333 if (smb_getdomainname(tmp_name, NETBIOS_NAME_SZ))
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetr_auth.c93 rc = smb_getnetbiosname(netr_info->hostname, NETBIOS_NAME_SZ);
206 char account_name[(NETBIOS_NAME_SZ * 2) + 1];
497 char account_name[NETBIOS_NAME_SZ * 2];
H A Dnetr_logon.c390 char nbdomain[NETBIOS_NAME_SZ];
500 arg.hostname = ndr_rpc_malloc(netr_handle, NETBIOS_NAME_SZ);
507 if (smb_getnetbiosname((char *)arg.hostname, NETBIOS_NAME_SZ) != 0) {
H A Dsamr_svc.c414 hostname = NDR_MALLOC(mxa, NETBIOS_NAME_SZ);
418 if (smb_getnetbiosname(hostname, NETBIOS_NAME_SZ) != 0)
503 char hostname[NETBIOS_NAME_SZ];
H A Dsmb_logon.c663 char nbname[NETBIOS_NAME_SZ];
H A Ddfs.c76 static char dfs_nbname[NETBIOS_NAME_SZ];
H A Dsmb_share.c2483 NETBIOS_NAME_SZ) != 0)
H A Dsrvsvc_svc.c1680 char hostname[NETBIOS_NAME_SZ];
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_session.c236 char client_name[NETBIOS_NAME_SZ];

Completed in 353 milliseconds