1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples/libsmbclient
Jeremy Allison 03991ab073 Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.
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 8c630efd25)
2008-08-12 13:35:15 -07:00
..
smbwrapper man pages: Move 'smbsh' man page to the examples directory. 2008-06-17 13:23:09 +02:00
get_auth_data_fn.h Add krb5 support for the testbrowse example. 2008-06-23 15:36:37 -04:00
Makefile Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX. 2008-08-12 13:35:15 -07:00
README r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
testacl2.c Remove use of deprecated function 2008-03-02 16:21:48 -05:00
testacl3.c Remove use of deprecated function 2008-03-02 16:21:48 -05:00
testacl.c Working on bug #5475 2008-05-30 10:38:35 -04:00
testbrowse2.c Initial revamp of the libsmbclient interface. 2008-03-01 20:47:22 -05:00
testbrowse.c Add krb5 support for the testbrowse example. 2008-06-23 15:36:37 -04:00
testchmod.c r6151: additional examples/tests for libsmbclient 2007-10-10 10:56:25 -05:00
testctx.c Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX. 2008-08-12 13:35:15 -07:00
testread.c Modify testread example to loop using same context. 2008-01-16 14:41:11 +00:00
testsmbc.c Continued revamping of libsmbclient. 2008-03-03 18:13:33 -05:00
teststat2.c r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500 2007-10-10 11:05:56 -05:00
teststat3.c Add some additional libsmbclient test programs. 2008-01-17 09:26:36 -05:00
teststat.c r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500 2007-10-10 11:05:56 -05:00
testtruncate.c add a test program for the new ftruncate functionality 2008-02-26 21:46:08 -05:00
testutime.c r7153: add better test facilities to testutime 2007-10-10 10:57:03 -05:00
testwrite.c Add some additional libsmbclient test programs. 2008-01-17 09:26:36 -05:00
tree.c Fix build warning for libsmbclient example. 2008-01-09 10:20:44 +01: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