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 Bartlett http://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
