Age | Commit message (Collapse) | Author | Files | Lines |
|
- port functionality from v3_3_test to master
Derrell
|
|
Here is a patch to allow many subsystems to be re-initialized. The only
functional change I made was to remove the null context tracking, as the memory
allocated here is designed to be left for the complete lifetime of the program.
Freeing this early (when all smb contexts are destroyed) could crash other
users of talloc.
Jeremy.
(This used to be commit 8c630efd25cf17aff59448ca05c1b44a41964b16)
|
|
- talloc and tdb have been moved to separate libraries. Link with those.
Derrell
(This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
|
|
- James suggested using gcc's "deprecated" attribute to mark the context
structure fields to generate warnings. This creates a scenario with the
best of all worlds. I'm able to move to an organization that more easily
allows future enhancements, while avoiding any mandatory changes by
applications. Thanks, James!
- Updated WHATSNEW.txt so that it accurately reflects the current state of
affairs.
Derrell
(This used to be commit a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)
|
|
(This used to be commit df995eddbddec80a0d9d4659bbb9c6ca8a45d02b)
|
|
(This used to be commit f5f46de404dba2e4a03d205a62cd5cf7ea4e075a)
|
|
testwrite: create or truncate a file and write to it.
teststat3: compare the results from smbc_stat() and smbc_fstat()
Derrell
(This used to be commit 5a4a7aec761c3388b741b9b47fa6358fc71a66ce)
|
|
(This used to be commit 2f432842442859f98ecd263464ce02821ab10fca)
|
|
Guenther
(This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
|
|
pointer was
incremented too far in some circumstances. In these cases, only the first
of multiple concatenated strings would be seen.
- Working on bug 4649 pertaining to delete an ACL, this fixes the reported
crash. It appears to have been an incomplete switchover from malloc to
talloc, as the memory was still being freed with SAFE_FREE.
Deleting ACLs still doesn't work. Although a valid request is sent to the
server and a SUCCESS response is returned, the method that's used in
libsmbclient for deleting ACLs seems to be incorrect. In looking at the
samba4 torture tests, it appears that we should be turning on the INHERIT
flag if we want to delete the ACL. (I could use some assistance on the
proper flags to send, from anyone familiar with this stuff.)
- Apply patch from SATOH Fumiyasu to fix bug 4750. smbc_telldir_ctx() was not
returning a value useful to smbc_lseekdir_ctx().
Derrell
(This used to be commit 2ac502e29bd8390252fe4ae8344faab49ca01ff5)
|
|
subseqeuent
attempts to set attributes to fail.
- I also noticed that missing attributes were setting an invalid return string
by getxattr(), e.g. if there was not group, the return string had "GROUP:;"
instead of excluding the GROUP attribute entirely as it should. The big
problem with the way it was, is that the string could not then be passed to
setxattr() and parsed.
(This used to be commit 7213b5ebec8cd7f1955f5aa8ee4050c39cd11ed1)
|
|
libsmbclient
library that's part of the current tree, not with whatever happens to have
been previously installed.
(This used to be commit c65621e0b7690b90beb420f829c769c7d28147f5)
|
|
Jeremy: requires your eyes...
If the remote connection timed out while cli_list() was retrieving its list of
files, the error was not returned to the user, e.g. via smbc_opendir(), so the
user didn't have a way to know to set the timeout longer and try again. This
problem would occur when a very large directory is being read with a too-small
timeout on the cli.
Jeremy, although there were a couple of areas that needed to be handled, I
needed to make one change that you should bless, in libsmb/clientgen.c. It
was setting
cli->smb_rw_error = smb_read_error;
but smb_read_error is zero, so this had no effect. I'm now doing
cli->smb_rw_error = READ_TIMEOUT;
instead, and according to the OP, these (cumulative) changes (in a slightly
different form) solve the problem.
Please confirm this smb_rw_error change will have no other adverse effects
that you can see.
Derrell
(This used to be commit fa664b24b829f973156486896575c1007b6d7b01)
|
|
add another libsmbclient test program
(This used to be commit 133cd3952b7f5fc9e9ca8d82a33ed1272067a6c8)
|
|
fixed another memory leak and reverted an (incorrect) fix from yesterday
(This used to be commit 8a86d7bddc291da094d060fbe185f071ffdbddd8)
|
|
added example to read a file and test download time
(This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)
|
|
(This used to be commit a3bd496c921dc775b59be4ff2941f4824ffbec03)
|
|
(This used to be commit e1df648ea13651e1df3d209937034b351a7f1c2b)
|
|
provided more complete libsmbclient testbrowse utility
(This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)
|
|
(This used to be commit 3aac1e549eaf4693ded84be432a2c94b6331ef6d)
|
|
FreeBSD 4.3. They might on Linux.
(This used to be commit 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)
|
|
(This used to be commit 81bfd9a4d9c80b87b020b998e9722750339c422d)
|
|
(This used to be commit 93c45024cdbbf51322106e2a5961db8c09618833)
|
|
static linking ...
(This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
|
|
a simple Makefile and a small README ...
(This used to be commit 950821d69cb6dcc723f8610584718c6217136d55)
|