mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
9840db418b
1. using smbc_getxattr() et al, one may now request all access control
entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
provided by smbc_getxattr() et al, when requesting all attributes,
all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
compiler flags are in use. removed -Wcast-qual flag from list, as that
is specifically to force warnings in the case of casting away qualifiers.
Note: In the process of eliminating compiler warnings, a few nasties were
discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces
are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
kerberos interfaces are being used. Someone who knows kerberos
should look at these and determine if there is an alternate method
of accomplishing the task.
(This used to be commit 994694f7f2
)
18 lines
585 B
Plaintext
18 lines
585 B
Plaintext
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
|