summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2008-05-30Update libsmbclient examples to match new librariesDerrell Lipman1-1/+1
- talloc and tdb have been moved to separate libraries. Link with those. Derrell (This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
2008-03-03Continued revamping of libsmbclient.Derrell Lipman1-2/+2
- 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)
2008-02-26add a test program for the new ftruncate functionalityDerrell Lipman1-0/+5
(This used to be commit df995eddbddec80a0d9d4659bbb9c6ca8a45d02b)
2008-01-17Add a program to test repeated calls to smbc_getxattr().Derrell Lipman1-0/+5
(This used to be commit f5f46de404dba2e4a03d205a62cd5cf7ea4e075a)
2008-01-17Add some additional libsmbclient test programs.Derrell Lipman1-1/+11
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)
2008-01-13Fix compile and linking errors since last this code was testedDerrell Lipman1-1/+1
(This used to be commit 2f432842442859f98ecd263464ce02821ab10fca)
2008-01-10Remove unused string.Günther Deschner1-2/+2
Guenther (This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
2007-10-10r24388: - ACL retrieval provided incomplete information because the buffer ↵Derrell Lipman1-4/+6
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)
2007-10-10r22914: - Fixes bug 4599. A missing <code>if</code> statement forced ↵Derrell Lipman1-0/+5
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)
2007-10-10r22130: - Ensure that the libsmbclient example programs link with the ↵Derrell Lipman1-10/+11
libsmbclient library that's part of the current tree, not with whatever happens to have been previously installed. (This used to be commit c65621e0b7690b90beb420f829c769c7d28147f5)
2007-10-10r18011: Should fix bug 3835.Derrell Lipman1-10/+12
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)
2007-10-10r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500Derrell Lipman1-0/+5
add another libsmbclient test program (This used to be commit 133cd3952b7f5fc9e9ca8d82a33ed1272067a6c8)
2007-10-10r12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500Derrell Lipman1-0/+5
fixed another memory leak and reverted an (incorrect) fix from yesterday (This used to be commit 8a86d7bddc291da094d060fbe185f071ffdbddd8)
2007-10-10r11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400Derrell Lipman1-1/+6
added example to read a file and test download time (This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)
2007-10-10r6151: additional examples/tests for libsmbclientDerrell Lipman1-2/+18
(This used to be commit a3bd496c921dc775b59be4ff2941f4824ffbec03)
2007-10-10r6126: added utility for testing smbc_stat()Derrell Lipman1-9/+10
(This used to be commit e1df648ea13651e1df3d209937034b351a7f1c2b)
2007-10-10r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; ↵Derrell Lipman1-2/+6
provided more complete libsmbclient testbrowse utility (This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)
2004-03-19missed some of Derrel's changesGerald Carter1-1/+5
(This used to be commit 3aac1e549eaf4693ded84be432a2c94b6331ef6d)
2003-10-24Apply these patches as well ... not sure if they all build. They don't onRichard Sharpe1-3/+10
FreeBSD 4.3. They might on Linux. (This used to be commit 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)
2003-01-22Sync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though.Tim Potter1-1/+1
(This used to be commit 81bfd9a4d9c80b87b020b998e9722750339c422d)
2001-06-30Make sure we compile with gcc by default.Richard Sharpe1-0/+1
(This used to be commit 93c45024cdbbf51322106e2a5961db8c09618833)
2001-06-30Add a static linking target to the examples Makefile so I can test out ↵Richard Sharpe1-1/+5
static linking ... (This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
2001-05-17Adding an examples directory for libsmbclient to the head branch along withRichard Sharpe1-0/+20
a simple Makefile and a small README ... (This used to be commit 950821d69cb6dcc723f8610584718c6217136d55)