#
335774 |
|
28-Jun-2018 |
brooks |
MFC r335641:
Fix a stack overflow in mount_smbfs when hostname is too long.
The local hostname was blindly copied into the to the nn_name array. When the hostname exceeded 16 bytes, it would overflow. Truncate the hostname to 15 bytes plus a 0 terminator which is the "workstation name" suffix.
Use defensive strlcpy() when filling nn_name in all cases.
PR: 228354 Reported by: donald.buchholz@intel.com Reviewed by: jpaetzel, ian (prior version) Discussed with: Security Officer (gtetlow) Security: Stack overflow with the hostname. Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15936
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
271259 |
|
08-Sep-2014 |
trasz |
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".
MFC after: 1 month 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
|
#
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
|
#
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
|
#
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
|
#
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
|
#
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.
|
#
95267 |
|
22-Apr-2002 |
sheldonh |
Import smbfs-1.4.4.
|
#
88492 |
|
26-Dec-2001 |
sheldonh |
Import smbfs-1.4.3.
|
#
87866 |
|
14-Dec-2001 |
sheldonh |
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/
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
271259 |
|
08-Sep-2014 |
trasz |
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".
MFC after: 1 month 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
|
#
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
|
#
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
|
#
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
|
#
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
|
#
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.
|
#
95267 |
|
22-Apr-2002 |
sheldonh |
Import smbfs-1.4.4.
|
#
88492 |
|
26-Dec-2001 |
sheldonh |
Import smbfs-1.4.3.
|
#
87866 |
|
14-Dec-2001 |
sheldonh |
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/
|