diff options
author | Jordan Brown <Jordan.Brown@Sun.COM> | 2009-11-05 14:34:36 -0800 |
---|---|---|
committer | Jordan Brown <Jordan.Brown@Sun.COM> | 2009-11-05 14:34:36 -0800 |
commit | bbf6f00c25b6a2bed23c35eac6d62998ecdb338c (patch) | |
tree | 8cf72fd47362b5b0da2ffe9be7fe7726a3d24426 /usr/src/common/smbsrv/smb_netbios_util.c | |
parent | d95ac3ffcdcc13296bb4c53f621f72c0535f32c3 (diff) | |
download | illumos-gate-bbf6f00c25b6a2bed23c35eac6d62998ecdb338c.tar.gz |
6747532 ns_lookup_bypid spams syslog with too many messages
6888836 Not listing all files in a directory of a CIFS share in Windows XP
6812570 Trans2 is missing pass-through levels: FILE_RENAME_INFORMATION (and others)
6888827 Add Unicode codepage support
6865488 libadutils: leak in ldap_lookup_domains_in_forest()
6888708 idmapd crashing periodically. Need cores analyzed.
6891342 invalid, redundant SQL in rule WHERE expressions
6891767 minor cleanups in idmap
6892544 Panic occurred at smb_node_ref+0x7f(ffffffd612297310)
--HG--
rename : usr/src/uts/common/smbsrv/cifs.h => usr/src/uts/common/smbsrv/smb.h
Diffstat (limited to 'usr/src/common/smbsrv/smb_netbios_util.c')
-rw-r--r-- | usr/src/common/smbsrv/smb_netbios_util.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/common/smbsrv/smb_netbios_util.c b/usr/src/common/smbsrv/smb_netbios_util.c index 1bd47f80bc..a0e0f480f1 100644 --- a/usr/src/common/smbsrv/smb_netbios_util.c +++ b/usr/src/common/smbsrv/smb_netbios_util.c @@ -19,12 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef _KERNEL #include <sys/types.h> #include <sys/sunddi.h> @@ -32,7 +30,6 @@ #include <string.h> #endif #include <smbsrv/string.h> -#include <smbsrv/ctype.h> #include <smbsrv/netbios.h> static int domainname_is_valid(char *domain_name); @@ -286,7 +283,7 @@ netbios_first_level_name_decode(char *in, char *name, char *scope) * to Appendix 1 - Domain Name Syntax Specification in RFC883. */ if (domainname_is_valid(scope)) { - (void) utf8_strupr(scope); + (void) smb_strupr(scope); /*LINTED E_PTRDIFF_OVERFLOW*/ return (cp - in); } @@ -377,14 +374,14 @@ domainname_is_valid(char *domain_name) } if (first_char) { - if (mts_isalpha_ascii(*name) == 0) + if (smb_isalpha_ascii(*name) == 0) return (0); first_char = 0; continue; } - if (mts_isalnum_ascii(*name) || dns_is_allowed(*name)) + if (smb_isalnum_ascii(*name) || dns_is_allowed(*name)) continue; return (0); |