1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples/libsmbclient
Derrell Lipman a54f9eddce r12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500
Correct some memory and file descriptor leaks.

 This should fix bugs 3257, 3267 and 3273.
(This used to be commit c5781c9cf5)
2007-10-10 11:05:44 -05:00
..
smbwrapper r7168: Updating file times from libsmbclient was not working for win98. Although 2007-10-10 10:57:04 -05:00
get_auth_data_fn.h r7156: file was missing; svn isn't smart enough to even notify me. sigh. 2007-10-10 10:57:03 -05:00
Makefile r11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400 2007-10-10 11:05:01 -05:00
README r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
testacl.c r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
testbrowse.c r12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500 2007-10-10 11:05:44 -05:00
testchmod.c r6151: additional examples/tests for libsmbclient 2007-10-10 10:56:25 -05:00
testread.c r11130: r10092@cabra: derrell | 2005-10-17 15:29:03 -0400 2007-10-10 11:05:01 -05:00
testsmbc.c r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -05:00
teststat.c r6157: 'editorial changes' to example code 2007-10-10 10:56:25 -05:00
testutime.c r7153: add better test facilities to testutime 2007-10-10 10:57:03 -05:00
tree.c r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility 2007-10-10 10:56:22 -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