summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/netcmd/ldapcmp.py
Commit message (Collapse)AuthorAgeFilesLines
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-021-998/+0
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
* samba-tool: Some more unifications...Karolin Seeger2012-10-091-1/+1
| | | | | | in the usage message. Karolin
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-271-4/+3
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* s4-samba-tool ldapcmp: Fix synopsisAndrew Bartlett2012-07-301-1/+1
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 30 06:25:46 CEST 2012 on sn-devel-104
* s4-samba-tool ldapcmp: Add ridNextRID and rIDPreviousAllocationPool as ↵Andrew Bartlett2012-07-301-0/+1
| | | | per-DC attributes
* s4:ldapcmp.py: pass down outf and errfStefan Metzmacher2012-04-171-12/+29
| | | | | | | | | Not all classes are derived from class 'Command'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 10:06:47 CEST 2012 on sn-devel-104
* s4-python: Remove env from non-executable netcmd scripts.Andreas Schneider2012-03-131-2/+0
|
* s4-python: Remove execute flag from netcmd scripts.Andreas Schneider2012-03-131-0/+0
|
* Revert "samba-tool: moved takes_optiongroups definition to Command base class"Jelmer Vernooij2012-02-071-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
* samba-tool: Enable comparison of DNS naming contexts in ldapcmpAmitay Isaacs2011-11-021-3/+8
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij2011-10-141-1/+1
|
* samba-tool: Use self.outf in a few more places.Jelmer Vernooij2011-10-131-13/+20
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
* samba-tool: cope with GC compares in ldapcmpAndrew Tridgell2011-10-041-3/+5
| | | | the two base DNs do not need to match when doing GC replica compares
* samba-tool: Fixed "ldapcmp" command synopsisGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Fixed "ldapcmp" command syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Add --filter option to ldapcmp to ignore specified attributesAmitay Isaacs2011-09-071-9/+20
|
* samba-tool: fixed use of base DNs in ldapcmpAndrew Tridgell2011-08-251-17/+13
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:samba-tool: ldapcmp needs CredentialsOptionsDoubleStefan Metzmacher2011-07-261-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 26 17:09:32 CEST 2011 on sn-devel-104
* samba-tool: moved takes_optiongroups definition to Command base classGiampaolo Lauria2011-07-211-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>
* samba-tool: fixed ldapcmp to run as non-root Andrew Tridgell2011-07-131-2/+9
| | | | | | | this avoids the need for access to the secrets database Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4:ldapcmp: cope with range retrivals of multivalued attributesStefan Metzmacher2011-02-141-1/+72
| | | | | | | | | | | | | | | A Windows Server returns a 'member;range=0-1499' attribute with the first 1500 values of the 'member' attribute. The client can do a BASE search on the given object and ask for the 'member;range=1500-*' attribute. It needs to loop until the high part of the returned range is '*'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 14 16:26:46 CET 2011 on sn-devel-104
* s4-tools: Fixed a bug in ldapcmp - DACL was not retrieved correctly if the ↵Nadezhda Ivanova2011-01-171-1/+4
| | | | | | object had no SACL. --Pair-Programmed-With: Zahari Zahariev
* s4-tools: Added a --sort-aces option to ldapcmpNadezhda Ivanova2011-01-171-6/+12
| | | | | | | | This option sorts the ACE lists during SD comparison in collision view to make it easier to determine of a difference is only in ACE order, and if not, where do differences start. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Jan 17 14:09:09 CET 2011 on sn-devel-104
* s4/ldapcmp: Two new options are added to the toolZahari Zahariev2011-01-071-40/+76
| | | | | | | | | | | | The new ones are --base and --scope they give us the opportunity to compare DN subsets of the partitions. Now we are also able to compare any two objects even if they have different DNs. This is exteremely helpful when you are after nasty nTSecurityDescriptor bug. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Fri Jan 7 13:22:26 CET 2011 on sn-devel-104
* s4/ldapcmp: Correct fix for creds2Anatoliy Atanasov2011-01-051-0/+3
| | | | | We need to set domain and workstation to creds2 otherwise we get Segfault because they are not initialized correctly.
* Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"Anatoliy Atanasov2011-01-051-1/+1
| | | | | This reverts commit 1cbce84683ef4fa49b85d87988c5e8db7057530a. Wrong assumption about a segmentation fault
* Revert "s4/ldapcmp: Check if creds2 is actualy set by the command line"Anatoliy Atanasov2011-01-051-1/+1
| | | | | This reverts commit f8275bae5d7b471967be7222170d049c18b8882f. Wrong assumption about a segmentation fault.
* s4/ldapcmp: Check if creds2 is actualy set by the command lineAnatoliy Atanasov2011-01-041-1/+1
| | | | | | | | | When parsing the command line for the second set of credentials the parser returns wrong user if the second set of parameters isn't set. So check if the password is set instead. Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Tue Jan 4 18:11:26 CET 2011 on sn-devel-104
* s4/ldapcmp: Fix the parsing of the second set of credentialsAnatoliy Atanasov2011-01-041-1/+1
| | | | | | | | We need this second set of credentials so we can do comparison between DCs in two different domains. Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Tue Jan 4 16:36:06 CET 2011 on sn-devel-104
* samba-tools: more reasonable defaults for samba-tool commandsAndrew Tridgell2010-12-081-1/+1
| | | | | | - fallback to machine account where possible - default to local hostname where this is reasonable
* s4-ldapcmp: make ldapcmp a samba-tool commandAndrew Tridgell2010-11-291-0/+830
The ldapcmp tool is very useful, and should be available to Samba admins, not just developers. This makes it a samba-tool command, which also gives it the nicer command line handling that samba-tool has