[PATCH] libsmbclient ACL support / smbsh as libsmbclient application

Richard Sharpe rsharpe at richardsharpe.com
Thu Oct 23 00:11:15 GMT 2003


On Thu, 16 Oct 2003 Derrell.Lipman at UnwiredUniverse.com wrote:

> Attached are two patches.

I am looking at applying these 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
> 
> 

-- 
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extended-attributes.patch
Type: text/x-patch
Size: 125063 bytes
Desc: 
Url : http://lists.samba.org/archive/samba-technical/attachments/20031022/667bb37a/extended-attributes.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbsh.patch
Type: text/x-patch
Size: 101984 bytes
Desc: 
Url : http://lists.samba.org/archive/samba-technical/attachments/20031022/667bb37a/smbsh.bin


More information about the samba-technical mailing list