| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This reverts commit 28fa519a80bfcd30737a51ad157d134322c1fed9.
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 4dc2eb7f42bad6812d21bf4577e2901b04a5ca83)
|
|
|
|
| |
(cherry picked from commit faa732c245c9296ff4cd4a56f353c3d5d1b0d202)
|
|
|
|
|
|
| |
Make this match the non-ACL case.
Jeremy.
(cherry picked from commit 1ca6239b9f67caafed50db5f284df00c5988ba03)
|
|
|
|
|
|
|
|
| |
<fumiyas@osstech.co.jp>.
Fix for smbclient and libsmbclient.
Jeremy.
(cherry picked from commit 71d00ef2888834ebed2a387a111a95bac1d227ad)
|
|
|
|
|
|
|
| |
Thanks to "No Body is Perfect" from gmail, whoever that is :-)
Volker
(cherry picked from commit 679d8dfa390601f777bfb43c02cd921eae5edcf4)
|
|
|
|
|
|
| |
can result in a buffer overrun.
Jeremy.
(cherry picked from commit 353d9cb0fdd941781698c6b334db5f2997eef991)
|
|
|
|
|
| |
Guenther
(cherry picked from commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
|
|
|
|
|
|
|
| |
connect on port 139 with IPv6. Found by David Holder @ Erion.
Karolin please merge to 3.2-stable.
Jeremy.
(cherry picked from commit c003e66ff10b23bb30aef0071ba7a3ae9579174e)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1121633652ffb77dce8df9cc91b7dfc2d55fd348)
|
|
|
|
| |
(cherry picked from commit 8dd6458049d1b9d6849730ac19c39b049a68f302)
|
|
|
|
|
| |
Derrell
(cherry picked from commit b7f34e7ef2907b498a0645ce68f2773ed7d60cdc)
|
|
|
|
| |
(cherry picked from commit 3fc85d22590550f0539215d020e4411bf5b14363)
|
|
|
|
|
| |
dirmask is always set here, we've dereferenced it before anyway
(cherry picked from commit e6787aa133a1b241987319486c3bc46ac6ad41af)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I did not do any scientific tests, but the dummy test on my laptop against a
w2k3 vmware shows that in this specific situation going beyond 512k seems not
to gain anything anymore.
smb: \> iosize 64512
iosize is now 64512
smb: \> lcd /dev
smb: \> get random null
getting file \random of size 104857600 as null (33453,1 kb/s) (average 19718,5 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (34236,0 kb/s) (average 20509,1 kb/s)
smb: \> iosize 524288
iosize is now 524288
smb: \> get random null
getting file \random of size 104857600 as null (49042,1 kb/s) (average 22521,9 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (49420,8 kb/s) (average 23432,9 kb/s)
smb: \> iosize 1048576
iosize is now 1048576
smb: \> get random null
getting file \random of size 104857600 as null (49420,8 kb/s) (average 24284,2 kb/s)
smb: \> get random null
getting file \random of size 104857600 as null (49136,3 kb/s) (average 25076,9 kb/s)
(cherry picked from commit 1bcfef6a9093aa873550a263dc142c8a3f5edffd)
|
|
|
|
| |
(cherry picked from commit e602f06cbba852a7eacd15b2511ef2571a95cc80)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)
Make use of it in the smbclient "get" command.
Volker
(cherry picked from commit 76f9b360ee1d973630d82d401eeddce858189301)
|
|
|
|
|
| |
This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d.
(cherry picked from commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)
Make use of it in the smbclient "get" command.
Volker
|
|
|
|
|
| |
for 3.2.
Jeremy.
|
| |
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Modeled after the Samba4 allinfo command
|
| |
|
|
|
|
| |
Jeremy.
|
|\
| |
| |
| | |
v3-2-test
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
|
|/
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
forces encrypted smb after initial connect. Will document
for 3.2 official release.
Jeremy.
|
|
|
|
|
|
|
|
| |
on a share (or global) and have the server reply with
ACCESS_DENIED for all non-encrypted traffic (except
that used to query encryption requirements and set
encryption state).
Jeremy.
|
|
|
|
|
| |
negotiation works.
Jeremy.
|
|
|
|
|
|
| |
Only client.c and clitar.c used this, I think they should carry the static
themselves. Also move the a bit funny routine toktocliplist to clitar.c, the
only place where it is used.
|
|
|
|
|
| |
Patch from Rishi Srivatsavai (bugzilla #4150), with tallocification
and minor syle changes by me.
|
|
|
|
|
|
|
| |
Patch broke option -p.
Sorry for breaking the build!
Karolin
|
|
|
|
| |
options.
|
|
|
|
|
|
| |
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
|
|
|
|
| |
errors.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
Mostly compiles....
Jeremy.
|
| |
|
|
|
|
|
|
|
| |
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
|
|
|
|
|
|
| |
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
Each cli struct has it's own local copy of this variable,
so use that in client code. In the smbd server, add one
static to smbd/proccess.c and use that inside smbd. Fix
a bunch of places where smb_rw_error could be set by
calling read_data() in places where we weren't reading
from the SMB client socket (ie. winbindd).
Jeremy.
|