summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/netcmd/group.py
AgeCommit message (Collapse)AuthorFilesLines
2012-07-03samba-tool: Fix indentationAmitay Isaacs1-2/+2
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-06-21samdb: Accept a list of member variables rather than a comma-separated string.Jelmer Vernooij1-2/+5
2012-05-10When listing group members allow fallback to cn attribute when ↵Lukasz Zalewski1-2/+5
samAccountName is not available
2012-05-03s4-samba-tool: make new samba-tool group listmembers use samAccountNameAndrew Bartlett1-2/+2
This is the unique username value. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 3 01:57:41 CEST 2012 on sn-devel-104
2012-05-03Extension to the samba-tool group subcommand functionality to allow listing ↵Lukasz Zalewski1-0/+66
of the members of an AD group
2012-03-18s4:samba-tool: add simple command "group list"Michael Adam1-0/+33
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/+24
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-11-10s4: samba-tool group --help documentation improvementsTheresa Halloran1-4/+75
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-14samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij1-4/+4
2011-10-13samba-tool: Use self.outf in a few more places.Jelmer Vernooij1-5/+10
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
2011-09-13group.py: Remove tab characters.Jelmer Vernooij1-2/+2
2011-09-09samba-tool: Fixed "group" subcommands syntaxGiampaolo Lauria1-4/+4
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-28samba-tool: add -H or --URL where necessaryGiampaolo Lauria1-4/+8
To improve consistency, I've made sure all the commands take either a -H or --URL when specifying a URL Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: moved takes_optiongroups definition to Command base classGiampaolo Lauria1-24/+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-06-17samba-tool: show success message on group operationsAndrew Tridgell1-0/+4
2010-12-08samba-tools: more reasonable defaults for samba-tool commandsAndrew Tridgell1-4/+4
- fallback to machine account where possible - default to local hostname where this is reasonable
2010-11-29s4-samba-tool: fixed exception handling in subcommandsAndrew Tridgell1-12/+8
this switches to the new pattern of: except Exception, e: raise CommandError("some error message", e)
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-06-20Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski1-1/+5
of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski1-0/+189
of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>