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
Andrew Bartlett
2013-Feb-21 02:42 UTC
[Samba] is there an equivalent to libjcifs for Python?
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 contentSamba 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 Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org