summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/netcmd/vampire.py
AgeCommit message (Collapse)AuthorFilesLines
2012-03-13s4-python: Remove env from non-executable netcmd scripts.Andreas Schneider1-2/+0
2012-02-07Revert "samba-tool: moved takes_optiongroups definition to Command base class"Jelmer Vernooij1-1/+6
This reverts commit f6fa8684896b8f3f9f8b7bd3742c99906973274c. This keeps the main command class fairly slim, and makes it a bit more obvious where the arguments to run() are coming from. Conflicts: source4/scripting/python/samba/netcmd/__init__.py source4/scripting/python/samba/netcmd/domain.py source4/scripting/python/samba/netcmd/gpo.py source4/scripting/python/samba/netcmd/newuser.py source4/scripting/python/samba/netcmd/testparm.py source4/scripting/python/samba/netcmd/user.py source4/scripting/python/samba/tests/samba_tool/__init__.py
2011-10-14samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij1-1/+2
2011-09-09samba-tool: epilog option to OptionParser available in python >= 2.6Amitay Isaacs1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-21samba-tool: moved takes_optiongroups definition to Command base classGiampaolo Lauria1-6/+1
The option groups should be defined at the Command base class level as they are in common across all samba-tool commands. Major move advantages: 1. more OOP approach 2. enforcing consistency across commands 3. avoiding the need of declaring for every new command Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: update vampire.py messageGiampaolo Lauria1-1/+1
The update was necessary to reflect the move from join to domain join as part of the object-action work Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-11-06samba-tool: deprecate samba-tool vampire commandAndrew Tridgell1-1/+5
2010-09-25s4-net: added --ipaddress option to net commandsAndrew Tridgell1-1/+1
this allows override of server IP address, bypassing NBT or DNS name resolution of DCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-09s4:net utility - make outprinted description comments more consistentMatthias Dieter Wallnöfer1-1/+1
I've added a [server connection needed] when commands won't work on the local SamDB.
2010-04-09s4-net: Convert machinepw command to python.Jelmer Vernooij1-63/+0
2010-04-09s4-net: Convert vampire command over to Python.Jelmer Vernooij1-0/+115