mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
03991ab073
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
|
||
---|---|---|
.. | ||
smbwrapper | ||
get_auth_data_fn.h | ||
Makefile | ||
README | ||
testacl2.c | ||
testacl3.c | ||
testacl.c | ||
testbrowse2.c | ||
testbrowse.c | ||
testchmod.c | ||
testctx.c | ||
testread.c | ||
testsmbc.c | ||
teststat2.c | ||
teststat3.c | ||
teststat.c | ||
testtruncate.c | ||
testutime.c | ||
testwrite.c | ||
tree.c |
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