| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Fix SMBFS when saved passwords are greater than 18 character
PR: 132302
Submitted by: dhorn2000@gmail.com guru@unixarea.de
Approved by: re (gjb)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current code for encoding a netbios name converts each byte to a 16-bit
value and stores the result by casting a char* to u_short*, resulting in
alignment faults on strict-alignment platforms.
This change reimplements the encoding routine using only byte accesses to
memory. There is no particular reason to work with 16-bit values just
because the encoding process creates two bytes of output for every byte of
input. Working a byte at at time also avoids endian problems for big-endian
platforms.
PR: 180438
PR: 189415
Differential Revision: https://reviews.freebsd.org/D4622
|
|
|
|
|
|
|
|
|
|
| |
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
Adjust all code that calls iconv.
PR: 199099
Exp-run by: antoine
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
It's just like "-U guest", except that it actually works, at least
with Samba 4, which seems to return authentication failure for "-U guest".
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
| |
PR: 183153
Submitted by: Dominic Fandrey <kamikaze bsdforen.de>
|
|
|
|
|
|
|
|
|
| |
to cdevpriv(9). This commit changes the semantic of mount_smbfs
in userland as well, which now passes file descriptor in order to
to mount a specific filesystem istance.
Reviewed by: attilio, ed
Tested by: martymac
|
|
|
|
|
|
|
|
|
| |
previously in order to ensure it fit properly in the bufer when encoded.
This prevents a debugging printf from firing if a source or destination
host name for an smb mount exceeds 15 characters.
MFC after: 3 days
Obtained from: Apple, Inc.
|
|
|
|
|
|
| |
protocols. This is very useful for tunneled SMB connections.
MFC after: 4 weeks
|
|
|
|
|
| |
htole{s,l,q}, letoh{s,l,q}, htobe{s,l,q}, betoh{s,l,q}
and replace it with more standard byteorder macros in our system.
|
|
|
|
|
|
| |
- Add checking range of strings to iconv_sysctl_add().
Submitted by: Rudolf Cejka
|
|
|
|
| |
rather than using optarg variable which would be allways NULL.
|
|
|
|
| |
Security:
|
|
|
|
| |
PR:78110
|
|
|
|
| |
+ Use the correct printf format for size_t.
|
|
|
|
|
|
|
|
|
|
| |
when using character set conversions.
Also include POSIX <string.h> vs. BSD <strings.h> now that we've broken
traditional BSD behavior [and compatibility with our BSD brethren].
PR: 72445
Submitted by: Vladimir Nechitailo <nechit@lpi.ru>
Patch by: Stasys Smailys <ssmailys@komvista.lt>
|
| |
|
|
|
|
|
|
| |
indicator, as it is expected.
Spotted by: Christoph Mallon <christoph.mallon@gmx.de>
|
|
|
|
| |
OK'ed by: tjr
|
|
|
|
| |
SIOCGIFCONF.
|
|
|
|
|
| |
the data delivered by SIOCGIFCONF correctly (this isn't a plain array!),
and sort the checks a bit to avoid duplicates in the interface list.
|
|
|
|
|
|
|
|
| |
usernames, workgroup names and passwords. We can now connect to
servers with 15-character NetBIOS names. (Some versions of Windows
use semi-random 15-char names by default.)
PR: 46902
|
|
|
|
|
|
| |
size_t not int.
Reviewed by: bp
|
|
|
|
|
|
|
| |
prototype gets brought into scope. This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.
Reviewed by: bp
|
|
|
|
|
|
|
| |
is used without supplying "sowner:sgroup".
Obtained from: NetBSD (jdolecek)
PR: 37171
|
|
|
|
|
|
| |
library.
MFC after: 1 week
|
| |
|
| |
|
| |
|
|
This is Boris Popov's SMB/CIFS file system implementation for FreeBSD.
Obtained from: Boris Popov via ftp://ftp.butya.kz/pub/smbfs/
|