| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
PR: 183153
Submitted by: Dominic Fandrey <kamikaze bsdforen.de>
|
|
|
|
|
|
| |
- Reconnect with some minor modifications, in particular now selsocket()
internals are adapted to use sbintime units after recent'ish calloutng
switch.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Approved by: re (follow up commit fixing trivial issue)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Approved by: fjoe
|
|
|
|
| |
Submitted by: Leonidas Tsampros <ltsampros@upnet.gr>
|
| |
|
| |
|
|
|
|
| |
Reviewed by: bp (smbfs maintainer)
|
|
|
|
| |
utility that I can find.
|
|
|
|
|
|
| |
protocols. This is very useful for tunneled SMB connections.
MFC after: 4 weeks
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
| |
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:
|
|
|
|
| |
OK'ed by: bp
|
|
|
|
| |
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>
|
|
|
|
| |
error occurred.
|
| |
|
|
|
|
| |
PR: misc/45273
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
indicator, as it is expected.
Spotted by: Christoph Mallon <christoph.mallon@gmx.de>
|
|
|
|
| |
OK'ed by: tjr
|
|
|
|
|
| |
load the smbfs module because the mount(2) syscall will do it
if it's needed.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
- Add FreeBSD CVS tag.
PR: docs/35649
Submitted by: roam
Approved by: ceri (mentor)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
is used without supplying "sowner:sgroup".
Obtained from: NetBSD (jdolecek)
PR: 37171
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| | |
library.
MFC after: 1 week
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|