1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/examples/libsmbclient
Derrell Lipman 4a413b3043 r22914: - Fixes bug 4599. A missing <code>if</code> statement forced 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 7213b5ebec)
2007-10-10 12:22:07 -05:00
..
smbwrapper r12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500 2007-10-10 11:06:04 -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 r22914: - Fixes bug 4599. A missing <code>if</code> statement forced subseqeuent 2007-10-10 12:22:07 -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 r6149: Fixes bugs #2498 and 2484. 2007-10-10 10:56:24 -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 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