| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
PR: 132302
Submitted by: dhorn2000@gmail.com guru@unixarea.de
MFC after: 1 week
Notes:
svn path=/head/; revision=319670
|
|
|
|
|
|
|
|
|
|
|
| |
declaring strcmp(3)
MFC after: 1 month
Reported by: Jenkins
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=295118
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=292552
|
|
|
|
|
|
|
|
|
| |
PR: 203336, 203339
Submitted by: espeyb@rpi.edu, themesta@gmail.com
MFC after: 1 week
Notes:
svn path=/head/; revision=292263
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=281550
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=271259
|
|
|
|
|
|
|
|
|
|
|
| |
The issue here is that we have to pass this flag as a string,
in iov, because it doesn't fit in mntflags, which is an int.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=271258
|
|
|
|
| |
Notes:
svn path=/head/; revision=258049
|
|
|
|
|
|
|
|
| |
PR: 183153
Submitted by: Dominic Fandrey <kamikaze bsdforen.de>
Notes:
svn path=/head/; revision=257888
|
|
|
|
|
|
|
|
|
| |
- Reconnect with some minor modifications, in particular now selsocket()
internals are adapted to use sbintime units after recent'ish calloutng
switch.
Notes:
svn path=/head/; revision=252356
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=250236
|
|
|
|
|
|
|
| |
Approved by: re (follow up commit fixing trivial issue)
Notes:
svn path=/head/; revision=225644
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is less likely to block a remote system from boot.
Submitted by: Garrett Cooper <yanegomi@gmail.com>
PR: doc/160775
MFC after: 1 month
Approved by: re (kib)
Notes:
svn path=/head/; revision=225643
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove upper 16bits which always seem to be 0xFFFF. We don't
allocate more than 64KB buffer anyway.
This change make smbutil work on sparc64.
Reviewed by: marius, bp
Approved by: bp
Notes:
svn path=/head/; revision=202980
|
|
|
|
|
|
|
|
|
|
|
| |
getopt(), it is accepted through smb_ctx_init() in
lib/smb/ctx.c.
PR: 117013
Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version)
Notes:
svn path=/head/; revision=187583
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=184567
|
|
|
|
|
|
|
| |
Approved by: fjoe
Notes:
svn path=/head/; revision=170820
|
|
|
|
|
|
|
| |
Submitted by: Leonidas Tsampros <ltsampros@upnet.gr>
Notes:
svn path=/head/; revision=161207
|
|
|
|
| |
Notes:
svn path=/head/; revision=152569
|
|
|
|
| |
Notes:
svn path=/head/; revision=152523
|
|
|
|
|
|
|
| |
Reviewed by: bp (smbfs maintainer)
Notes:
svn path=/head/; revision=152467
|
|
|
|
|
|
|
| |
utility that I can find.
Notes:
svn path=/head/; revision=151936
|
|
|
|
|
|
|
|
|
| |
protocols. This is very useful for tunneled SMB connections.
MFC after: 4 weeks
Notes:
svn path=/head/; revision=150802
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=150313
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=150312
|
|
|
|
|
|
|
|
|
| |
- Add checking range of strings to iconv_sysctl_add().
Submitted by: Rudolf Cejka
Notes:
svn path=/head/; revision=149415
|
|
|
|
|
|
|
| |
rather than using optarg variable which would be allways NULL.
Notes:
svn path=/head/; revision=148815
|
|
|
|
|
|
|
| |
Security:
Notes:
svn path=/head/; revision=148519
|
|
|
|
|
|
|
| |
OK'ed by: bp
Notes:
svn path=/head/; revision=148496
|
|
|
|
|
|
|
| |
PR:78110
Notes:
svn path=/head/; revision=145872
|
|
|
|
|
|
|
| |
+ Use the correct printf format for size_t.
Notes:
svn path=/head/; revision=136700
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=136699
|
|
|
|
|
|
|
| |
error occurred.
Notes:
svn path=/head/; revision=134801
|
|
|
|
| |
Notes:
svn path=/head/; revision=132752
|
|
|
|
|
|
|
| |
PR: misc/45273
Notes:
svn path=/head/; revision=132289
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can't realy on the mount(2) system call to do it for us here because
smb_lib_init() needs the module and we call it before mount(). The old
code has been slightly modified to not use the getvfsent(3) API which
is now retired.
Noticed by: many
Notes:
svn path=/head/; revision=130789
|
|
|
|
|
|
|
|
|
| |
indicator, as it is expected.
Spotted by: Christoph Mallon <christoph.mallon@gmx.de>
Notes:
svn path=/head/; revision=130737
|
|
|
|
|
|
|
| |
OK'ed by: tjr
Notes:
svn path=/head/; revision=130716
|
|
|
|
|
|
|
|
| |
load the smbfs module because the mount(2) syscall will do it
if it's needed.
Notes:
svn path=/head/; revision=128140
|
|
|
|
|
|
|
| |
SIOCGIFCONF.
Notes:
svn path=/head/; revision=126269
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=125130
|
|
|
|
|
|
|
|
|
| |
the iprintf macro. It was causing the actual format string and
variable names to be written out, instead of substituting the values
of the variables into the format string.
Notes:
svn path=/head/; revision=119363
|
|
|
|
|
|
|
|
|
|
|
| |
- Add FreeBSD CVS tag.
PR: docs/35649
Submitted by: roam
Approved by: ceri (mentor)
Notes:
svn path=/head/; revision=118261
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=118079
|
|
|
|
|
|
|
|
|
| |
size_t not int.
Reviewed by: bp
Notes:
svn path=/head/; revision=118042
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=118041
|
|
|
|
|
|
|
|
|
|
|
| |
struct vfsconf. This silences a warning, but could also prevent
stack corruption problems if xvfsconf ever became larger than vfsconf.
PR: 53863
Submitted by: Lukas Ertl
Notes:
svn path=/head/; revision=117804
|
|
|
|
| |
Notes:
svn path=/head/; revision=114592
|
|
|
|
|
|
|
|
|
|
| |
is used without supplying "sowner:sgroup".
Obtained from: NetBSD (jdolecek)
PR: 37171
Notes:
svn path=/head/; revision=113396
|
|\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=100491
|