samba-tool: Added gpo fetch command implementation using python smb module.
authorAmitay Isaacs <amitay@gmail.com>
Thu, 28 Jul 2011 04:17:19 +0000 (14:17 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 28 Jul 2011 05:20:54 +0000 (15:20 +1000)
commit2b6ea7975b5254a90ea183e3a69647920cbf4595
tree21be49180b51b5909e4c6bdea760efc7e700e465
parentd6db6614dd3621ad2a2cff58d1d79d6fdf7345f0
samba-tool: Added gpo fetch command implementation using python smb module.

To copy the GPO files, use libcli python interface list() to get directory
listing and loadfile() to read the contents of the file.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/scripting/python/samba/netcmd/gpo.py