[Samba] is there an equivalent to libjcifs for Python?

2013-02-20 Thread Jean-Daniel
Hi list,

What tools in Python can I use to:
- connect to a remote share
- list the files
- list the ACLS of the files
- get the content

I am looking for something functionally similar to the libjcifs.

Is there a nice fuse integration with Samba that would implement the
mentioned features?

Regards, Jean-Daniel Browne
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] is there an equivalent to libjcifs for Python?

2013-02-20 Thread Andrew Bartlett
On Wed, 2013-02-20 at 14:49 +0100, Jean-Daniel wrote:
 Hi list,
 
 What tools in Python can I use to:
 - connect to a remote share
 - list the files
 - list the ACLS of the files
 - get the content

Samba 4.0 ships with python bindings for our CIFS client, and can do
exactly this.

See source4/scripting/python/samba/netcmd/gpo.py for an example of how
to use it (it does almost exactly this actually, in the context of GPO
manipulation).

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba