History log of /freebsd-10.1-release/contrib/smbfs/lib/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


272119 25-Sep-2014 trasz

MFC r271259:

Make it possible to use empty user name ("-U ''") for mount_smbfs(8).
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".

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation


258125 14-Nov-2013 glebius

Merge r257888, r258049 from head:

- Use system libiconv, instead of trying to dlopen() it.
- Just disable recoding support in libsmb if built WITHOUT_ICONV.

PR: 183153
Approved by: re (kib)


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


250236 04-May-2013 davide

Completely rewrite the interface to smbdev switching from dev_clone
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


184567 02-Nov-2008 rwatson

When encoding an smb name, truncate one byte earlier in order than we did
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.


150802 02-Oct-2005 bp

Allow user to override default port numbers used by communication
protocols. This is very useful for tunneled SMB connections.

MFC after: 4 weeks


150312 19-Sep-2005 imura

Remove macros
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.


149415 24-Aug-2005 imura

- Fix checking range of strings of struct iconv_add_in in libsmb and libkiconv,
- Add checking range of strings to iconv_sysctl_add().

Submitted by: Rudolf Cejka


148815 07-Aug-2005 imura

Tell nls_setlocale() the very locale name from command line option,
rather than using optarg variable which would be allways NULL.


148519 29-Jul-2005 imura

Correct argument order of kiconv_add_xlat16_cspairs().

Security:


145872 04-May-2005 takawata

Make smbfs capable to use 16bit char set in filenames.

PR:78110


136700 19-Oct-2004 obrien

+ Get prototypes for libc functions.
+ Use the correct printf format for size_t.


136699 19-Oct-2004 obrien

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>


132752 28-Jul-2004 kan

Do not use casts as lvalues.


130737 19-Jun-2004 le

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>


130716 19-Jun-2004 le

Don't return NULL when the function is defined to return an integer.

OK'ed by: tjr


126269 26-Feb-2004 tjr

Merge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
SIOCGIFCONF.


125130 28-Jan-2004 tjr

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.


118079 27-Jul-2003 tjr

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


118042 26-Jul-2003 peter

Fixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
size_t not int.

Reviewed by: bp


118041 26-Jul-2003 peter

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


113396 12-Apr-2003 tjr

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


100491 22-Jul-2002 bp

This commit was generated by cvs2svn to compensate for changes in r100490,
which included commits to RCS files with non-trunk default branches.


95268 22-Apr-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r95267,
which included commits to RCS files with non-trunk default branches.


88493 26-Dec-2001 sheldonh

This commit was generated by cvs2svn to compensate for changes in r88492,
which included commits to RCS files with non-trunk default branches.


88283 20-Dec-2001 sheldonh

This commit was generated by cvs2svn to compensate for changes in r88282,
which included commits to RCS files with non-trunk default branches.


87867 14-Dec-2001 sheldonh

This commit was generated by cvs2svn to compensate for changes in r87866,
which included commits to RCS files with non-trunk default branches.