obrien
bc2aa7d2c0
+ Get prototypes for libc functions.
...
+ Use the correct printf format for size_t.
2004-10-19 17:44:31 +00:00
obrien
d3916bf95c
Size matters. Correctly use a size_t so 64-bit hosts can mount SMB FS's
...
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>
2004-10-19 17:39:15 +00:00
tjr
24d8f8ddce
Correctly check the return value of kldload() to determine whether an
...
error occurred.
2004-09-05 06:42:51 +00:00
kan
6e16eb36f4
Do not use casts as lvalues.
2004-07-28 05:33:58 +00:00
bp
0303c434d1
Use correct location for nsmb.conf file.
...
PR: misc/45273
2004-07-17 14:38:42 +00:00
mux
eb7afb3b32
Re-add the code to automatically load the smbfs.ko module if necessary.
...
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
2004-06-20 14:30:33 +00:00
le
afcd053aa6
Fine-tune the last change even more and use the return value as error
...
indicator, as it is expected.
Spotted by: Christoph Mallon <christoph.mallon@gmx.de>
2004-06-19 19:03:01 +00:00
le
ac0b4e6f1f
Don't return NULL when the function is defined to return an integer.
...
OK'ed by: tjr
2004-06-19 10:09:44 +00:00
mux
3be170ff31
Sync with other mount_*fs(8) utilities; we don't need to try to
...
load the smbfs module because the mount(2) syscall will do it
if it's needed.
2004-04-11 21:07:26 +00:00
tjr
3dc2c6ac8e
Merge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
...
SIOCGIFCONF.
2004-02-26 08:49:19 +00:00
tjr
f66bd5e23b
Merge from NetBSD rev. 1.2 (drochner): Do the address calculations inside
...
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.
2004-01-28 05:55:13 +00:00
tjr
52c7b39fff
Remove the # ("stringify") operator from the printf() arguments in
...
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.
2003-08-23 13:05:13 +00:00
simon
3001b66e9f
- Correct the path to the dot.nsmbrc sample file.
...
- Add FreeBSD CVS tag.
PR: docs/35649
Submitted by: roam
Approved by: ceri (mentor)
2003-07-31 11:50:01 +00:00
tjr
84b3f90e1d
Fix some off-by-one errors dealing with limits of server names,
...
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
2003-07-27 11:41:38 +00:00
peter
8f2d8640ee
Fixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
...
size_t not int.
Reviewed by: bp
2003-07-26 04:03:18 +00:00
peter
b39888292e
Use #include <string.h> rather than <strings.h> so that the strdup()
...
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
2003-07-26 04:02:22 +00:00
tjr
975f59894e
Pass getvfsbyname() the address of a struct xvfsconf instead of
...
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
2003-07-20 11:27:54 +00:00
obrien
e249f6b9f2
The author wanted stringification, not concatenation.
2003-05-03 19:22:47 +00:00
tjr
aebe69bef3
Fix a typo in the -O parsing code that caused a crash when the -O option
...
is used without supplying "sowner:sgroup".
Obtained from: NetBSD (jdolecek)
PR: 37171
2003-04-12 12:11:14 +00:00
bp
7ca5837b3a
This commit was generated by cvs2svn to compensate for changes in r100490,
...
which included commits to RCS files with non-trunk default branches.
2002-07-22 09:50:09 +00:00
bp
558db90d74
Import smbfs 1.4.5. This release intended to fix problem with iconv
...
library.
MFC after: 1 week
2002-07-22 09:50:09 +00:00
sheldonh
fbe39dfcc2
Import smbfs-1.4.4.
2002-04-22 16:15:20 +00:00
sheldonh
6bdbff33ba
This commit was generated by cvs2svn to compensate for changes in r95267,
...
which included commits to RCS files with non-trunk default branches.
2002-04-22 16:15:20 +00:00
sheldonh
e408bb5856
Import smbfs-1.4.3.
2001-12-26 15:35:10 +00:00
sheldonh
c96d3c7799
This commit was generated by cvs2svn to compensate for changes in r88492,
...
which included commits to RCS files with non-trunk default branches.
2001-12-26 15:35:10 +00:00
sheldonh
48de1f540d
Import smbfs-1.4.2.
2001-12-20 16:16:25 +00:00
sheldonh
67e8242386
This commit was generated by cvs2svn to compensate for changes in r88282,
...
which included commits to RCS files with non-trunk default branches.
2001-12-20 16:16:25 +00:00
sheldonh
7000319a04
Detail the smbfs-1.4.1 import.
2001-12-14 11:11:31 +00:00
sheldonh
4e260b134f
Import smbfs-1.4.1.
...
This is Boris Popov's SMB/CIFS file system implementation for FreeBSD.
Obtained from: Boris Popov via ftp://ftp.butya.kz/pub/smbfs/
2001-12-14 11:06:03 +00:00