mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
e317034997
the function that was being used to set attributes is a core protocol
function (SMBsetatr = 0x09), it does not appear to work on win98. As a
temporary measure, when file times are to be set, this version opens the
file and uses SMBsetattrE = 0x22 instead. (The other advantage of this
function over the original one is that it supports setting access time as
well as modification time.)
The next step, the proper solution if it can be made to work, is to write
functions that use TRANS2_SET_PATH_INFO instead.
(This used to be commit
|
||
---|---|---|
.. | ||
smbwrapper | ||
get_auth_data_fn.h | ||
Makefile | ||
README | ||
testacl.c | ||
testbrowse.c | ||
testchmod.c | ||
testsmbc.c | ||
teststat.c | ||
testutime.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