[PATCH] libsmbclient ACL support / smbsh as libsmbclient application
Derrell.Lipman at UnwiredUniverse.com
Derrell.Lipman at UnwiredUniverse.com
Thu Oct 16 20:40:40 GMT 2003
Attached are two patches.
1. libsmbclient and related patches
- These changes extend libsmbclient to support the proposed POSIX extended
attribute functions:
smbc_setxattr()
smbc_lsetxattr()
smbc_fsetxattr()
smbc_getxattr()
smbc_lgetxattr()
smbc_fgetxattr()
smbc_removexattr()
smbc_lremovexattr()
smbc_fremovexattr()
smbc_listxattr()
smbc_llistxattr()
smbc_flistxattr()
- Small modification to libsmbclient to attempt connection on port 139
before attempting port 445, to allow browse lists to work, as recommended
on this list about 1 year ago.
- Now that browse lists work, modified examples/libsmbclient/tree.c to
start at the top-most level and retrieve the list of workgroups, rather
than begin with the current workgroup
- Added a function smbc_set_context() to provide a context to the
libsmbclient compatibility functions rather than using the static one
which is provided. This function also allows simply retrieving the
static one in order to make changes to the defaults.
2. smbsh
- This implementation of smbsh is entirely a libsmbclient application.
Although it (in practice) replaces source/smbwrapper, I have opted to
place it in examples/libsmbclient/smbsh since the files in
source/smbwrapper appear to be required by other samba code (vfs modules
wont build without those files being there). For anyone looking for a
version of smbsh that works on modern versions of Linux, here it is.
Derrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extended-attributes.patch
Type: text/x-patch
Size: 125063 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20031016/488049fe/extended-attributes.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbsh.patch
Type: text/x-patch
Size: 101984 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20031016/488049fe/smbsh.bin
More information about the samba-technical
mailing list