summaryrefslogtreecommitdiff
path: root/source4/scripting/devel
AgeCommit message (Collapse)AuthorFilesLines
2010-11-04s4-devel: Verify prefixMap is saved correctly in LDB on diskKamen Mazdrashki1-0/+146
2010-11-04Speed test with user objectsZahari Zahariev1-0/+191
This is a modest speed test that aims to show performance difference between Samba4 vs MS Active Directory. It should be used with Samba-style credentials and no arguments like every other python unittest. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Thu Nov 4 00:11:20 UTC 2010 on sn-devel-104
2010-11-01s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell1-1/+0
2010-10-26Add a script for formating test result of st/subunitMatthieu Patou1-0/+19
This script show the time of each test and tests are sorted by execution time (from the slowest to the quickest) Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Oct 26 20:42:11 UTC 2010 on sn-devel-104
2010-10-02s4-ldapcmp.py: Don't guess credentials for second Credentials objectKamen Mazdrashki1-1/+1
This allow us to fallback to first credentials given. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Oct 2 23:05:20 UTC 2010 on sn-devel-104
2010-09-30LDAPCmp feature to compare nTSecurityDescriptorsZahari Zahariev1-34/+252
New feature that enables LDAPCmp users to find unmatched or missing ACEs in objects for the three naming contexts between DCs in one domain (default) or different domains. Comparing security descriptors is not the default action but attribute compatison. So to activate the new mode there is --sd switch. However there are two view modes to the new --sd action which are 'section' (default) or 'collision'. In 'section' mode you can only find differences connected to missing or value unmatched ACEs but not disorder unmatch if ACE values and count are the same. All of the mentioned differences plus disorder ACE unmatch you can observe under 'collision' view however it is more verbose. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-29s4-devel: added new options to getncchanges scriptAndrew Tridgell1-9/+65
added --pas, --dest-dsa and --replica-flags options Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-26s4-ldapcmp: Fix usage of 'paged_search' module for remote LDB connectionsKamen Mazdrashki1-2/+3
2010-09-26s4-ldapcmp: Extend ldapcmp to be able to compare more than one context at a timeKamen Mazdrashki1-20/+33
If no arguments given, ldapcmp will compare all NCs
2010-09-22s4-ldapcmp: Enable comparisons between LDBs tooKamen Mazdrashki1-3/+12
This will enable us to compare two LDBs or and LDB with running AD server. Comparing LDB against running running server may come into handy when one want to see if 'net vampire' command does what it does the right way
2010-09-21s4-devel-getncchanges: Add common Samba options as a group to be displayedKamen Mazdrashki1-0/+1
Those options are processed but never shown with --help argument
2010-09-18s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki1-4/+10
And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
2010-09-17s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell1-0/+43
this calls the netlogon DsrUpdateReadOnlyServerDnsRecords call to add DNS entries for a RODC via RPC calls. The call is routed via a IRPC call to winbind, as winbind is the one with the schannel credential chaining setup. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26s4-devel: added enumprivs developer scriptAndrew Tridgell1-0/+58
this enumerates all LSA privileges on a server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23s4-devel: added a getncchanges developer scriptAndrew Tridgell1-0/+120
this allows for command line access to getncchanges it also provides a good example of calling DRSUAPI interfaces from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-20Remove place-holders when it is single domainZahari Zahariev1-18/+32
This patch changes the behavior of LDAPCmp in a single domain scenario. No place-holders will be applied during comparison so replication will be fully tested and even the silightest difference will pop up. There is a second smaller fix when we compre hosts in different domains. This fix disables ${SERVERNAME} paace-holder when there are more then one serevr (domain controller) in the given domain.
2010-07-15s4: Add a simple script to change dc passwordMatthieu Patou1-0/+63
This script will mostly be used by unit test (blackbox type) to test the change of the dc password Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-05DNS objects should not be ignoredZahari Zahariev1-21/+9
Recently I have found that after vampireing from a clean Windows server we have the same DNS objects in the ldb. So ldapcmp has to no longer ignore them. Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-22s4/test: fix DC password in selftest-vars.shKamen Mazdrashki1-2/+2
2010-05-19s4/selftest: fix passwords in selftest-vars scriptKamen Mazdrashki1-2/+2
2010-05-10v2 Latest enhancements in ldapcmp toolZahari Zahariev1-140/+262
- Added support for replicating hosts versus hosts in different domains - Added switches for the following modes: = two - ignores additional attributes that cannot be the same in two different provisions (domains) = quiet - display nothing, only return code = verbose - display all dn objects through compare fase = default - display only objects with differences - Added more placeholders for nETBIOSDomainName and ServerName
2010-05-07s4-devel: a very useful script when dealing with library/linking issuesAndrew Tridgell1-0/+15
I use this all the time, so I thought I'd put it in the tree for others
2010-05-06s4-devel: auto-delete any leftover IPsAndrew Tridgell1-0/+8
remove IP from a previous vampire_ad.sh run
2010-05-06s4-devel: a useful script for giving DRS replication demosAndrew Tridgell1-0/+14
2010-04-27s4-drsdevel: support sites in drs developer scriptsAndrew Tridgell3-3/+7
2010-04-21s4-devel: allow extra net command line options and gdbAndrew Tridgell1-1/+1
This allows you to run: GDB="gdb --args" vampire_ad.sh and also to add higher debug levels like this: vampire_ad.sh -d100 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-19s4-dev: expanded selftest-vars.sh to match current testenvAndrew Tridgell1-4/+41
2010-04-16s4-test: added KRB5_CONFIG to selftest-vars.shAndrew Tridgell1-0/+1
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell1-1/+1
this should be much more portable
2010-03-22s4-selftest: fix selftest-vars script.Günther Deschner1-1/+1
Tridge, please check. Guenther
2010-03-20build: useful shell vars for setting up selftestAndrew Tridgell1-0/+9
2010-02-26devel: get the ownership of the directories right in tmpfs.shAndrew Tridgell1-2/+2
2010-02-25s4:scripting/devel Allow tmpfs script to be re-runAndrew Bartlett1-1/+4
By doing the unmount, we can avoid double-mounting st and bin
2010-01-16s4-devel: added rebuild_zone.shAndrew Tridgell1-0/+107
This rebuilds a DNS zone file, including all DCs from sam.ldb
2010-01-13Comparison tool for LDAP servers (using Ldb)Zahari Zahariev1-0/+449
This tool is integrated with Samba4 Ldb. It provides a useful output where you can find easy differences in objects or attributes within naming context (Domain, Configuration or Schema). Added functionality for two sets of credentials.
2010-01-08s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystemsAndrew Tridgell1-0/+13
this makes building and testing s4 as a developer much faster, if you have enough memory!
2009-12-14s4-devel: support vampire_ad.sh with no initial smb.confAndrew Tridgell1-1/+4
2009-12-08s4-drs: use -r to ldbdel in unvampire devel scriptAndrew Tridgell1-4/+3
This ensures we delete any nTDSConnection objects
2009-10-15s4-devel: for devel scripts its better to use bin/ than $PREFIX/binAndrew Tridgell2-6/+7
This avoids having to do make install after each change when using the drs devel scripts
2009-10-06s4:drs-development Scripts to assist testing of DRS replication with ADAndrew Bartlett6-0/+143
These scripts, originally by tridge, allow developers to easily reproduce the same domain join senerio time after time. They need documentation, and the template named.conf and zone files for hosting an AD domain are not provided. However, I hope to have the provision script provide these shortly. They assume a local 'bind' set up to read PREFIX/private/named.conf (as per the provision instructions). Ensure you edit the 'vars' file to match your local setup. Andrew Bartlett