simonb
a2facef339
Remove some assigned-to but otherwise unused variables.
2003-10-30 01:43:08 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
itojun
5dcb6d7469
fix lwp lossage
2003-06-29 12:16:19 +00:00
jdolecek
dee9f67e51
add SMB_CAPS() macro, which returns session capabilities
2003-04-05 13:13:50 +00:00
jdolecek
b79183a11f
g/c smb_smb_nomux(), use KASSERT() instead - if we get here with
...
process != iod, it's netsmb/smbfs code error
2003-04-01 08:35:42 +00:00
jdolecek
7ba3ded040
fix connecting to (samba) server when share-level security is in effect
...
(do not send second password at all)
from FreeBSD
2003-03-24 15:07:52 +00:00
jdolecek
01f94cf255
Implement support for mixed case passwords.
...
From Darwin via FreeBSD.
This will have some effect once the NetBSD iconv routines would
actually do something.
2003-03-24 15:03:58 +00:00
jdolecek
b55818f692
Use 'large' (64bit) readx and writex functions if server supports them.
...
This makes it possible to use files >4G.
From Darwin via FreeBSD, but changed so that smb_{read|write}() directly
calls appropriate i/o variant, and replaced md_get_uint16le() with
md_get_uint16() for target == NULL cases.
Replace some size_t's by int's.
2003-03-24 14:24:14 +00:00
jdolecek
fbfa48d0a9
make smb_smb_read() and smb_smb_write() return EFBIG if offset is
...
at or beyond 4G - this interface supports 32bit offset only
2003-03-24 14:11:32 +00:00
jdolecek
6e843721e9
don't access (u_int32_t *) as (u_int16_t *), this fails on BE machines -
...
use temporary variable to fetch the 16bit value instead
remove some redundant temporaries, use NULL for those md_get_*() calls instead
make sv_sm 16bit - it is 16bit in later SMB dialects
2003-03-24 09:17:52 +00:00
jdolecek
850f5b36ec
Add unicode related definition for future use. Descibe Samba bug.
...
From Darwin via FreeBSD rev. 1.4
2003-03-24 07:40:50 +00:00
jdolecek
0b6415076c
Remove redundant checks for iovcnt > 1. This should be handled properly
...
in the subr_mchain.
From Darwin via FreeBSD smb_smb.c rev. 1.5
g/c bogus 'olduio' save/restore, it's not needed
2003-03-24 07:24:02 +00:00
jdolecek
4e2b57cec2
don't use rqp->{sr_errclass|sr_serror} - use the translated error
...
number instead
g/c SMB_DIALECT_MAX, it's not used
2003-03-23 16:51:52 +00:00
jdolecek
aee3251066
use 'NetBSD' for client OS string
2003-03-23 10:52:03 +00:00
jdolecek
14e421e6b0
constify smb_share_typename()
2003-03-23 10:38:14 +00:00
jdolecek
ede214240b
#if 0 or g/c unused stuff
...
pointed out by Krister Walfridsson
2003-03-03 21:16:02 +00:00
jdolecek
e1ea74dfac
add __KERNEL_RCSID
2003-02-25 09:12:11 +00:00
jdolecek
695a1f63b5
const-poison a bit
2003-02-24 19:32:16 +00:00
deberg
f3b1291f2e
resolve conflicts
2002-01-04 02:39:37 +00:00
lukem
4f2ad95259
add RCSIDs
2001-11-13 00:56:55 +00:00
deberg
3694227079
initial stab at SMB stack, needed for smbfs. originally for freebsd by
...
boris popov, first ported to 1.4 branch by Christian Limpach
<chris@nice.ch>.
2000-12-07 03:48:09 +00:00