[PATCH] New smbclient commands: users and stat

Gerald (Jerry) Carter jerry at samba.org
Mon Nov 5 21:38:07 GMT 2001


On 5 Nov 2001, Gregor N. Purdy wrote:

> All --
>
> This is my first work with the Samba code base. I want to have access
> to complete stat info of a file via libsmbclient, including the
> *string* user name of the owner. To test out my ability to do this,
> I've tinkered with source/client/client.c (patch attached) to add
> a 'users' command that lists all the users on the remote machine
> (enlightening on XP professional), and a 'stat' command that gathers
> all the timestamps and (supposedly) the user name.

This should be done using RPC I would think.  I'll look at yoru patch.











cheers, jerry
 ---------------------------------------------------------------------
 www.samba.org              SAMBA Team              jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list