1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
samba-mirror/examples/libsmbclient
Derrell Lipman 2ac502e29b r24388: - ACL retrieval provided incomplete information because the buffer 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
2007-10-10 12:29:39 -05:00
..
smbwrapper r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00
get_auth_data_fn.h r14664: r13868@cabra: derrell | 2006-03-22 17:04:30 -0500 2007-10-10 11:15:42 -05:00
Makefile r24388: - ACL retrieval provided incomplete information because the buffer pointer was 2007-10-10 12:29:39 -05:00
README r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
testacl2.c r22914: - Fixes bug 4599. A missing <code>if</code> statement forced subseqeuent 2007-10-10 12:22:07 -05:00
testacl.c r18009: Fixes bug 4026. 2007-10-10 11:39:47 -05:00
testbrowse2.c r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500 2007-10-10 11:05:50 -05:00
testbrowse.c r16550: Fix bug 3866. Thanks for the report! 2007-10-10 11:18:59 -05:00
testchmod.c r6151: additional examples/tests for libsmbclient 2007-10-10 10:56:25 -05:00
testread.c r18012: Should fix bug 4018. 2007-10-10 11:39:48 -05:00
testsmbc.c r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00
teststat2.c r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500 2007-10-10 11:05:56 -05:00
teststat.c r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500 2007-10-10 11:05:56 -05:00
testutime.c r7153: add better test facilities to testutime 2007-10-10 10:57:03 -05:00
tree.c r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00

Some simple example programs for libsmbclient ...

testsmbc.c is kinda broken as it has many hardcoded bits in it

testbrowse.c opens a remote folder and displays its contents

teststat.c allows comparing the results of smbc_stat() against a local stat() of
the same file.

tree.c is an example of how you might do some of these things with GTK+
It needs lots of work but shows you some ways to use libsmbclient.

smbwrapper implements the old smbsh/smbwrapper mechanism using libsmbclient, in
such a way that it works on Linux

Richard Sharpe, 17 May 2001
Derrell Lipman, 30 Mar 2005