summaryrefslogtreecommitdiffstats
path: root/source4/scripting/devel
Commit message (Collapse)AuthorAgeFilesLines
* s4-ldapcmp: Enable comparisons between LDBs tooKamen Mazdrashki2010-09-221-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
* s4-devel-getncchanges: Add common Samba options as a group to be displayedKamen Mazdrashki2010-09-211-0/+1
| | | | Those options are processed but never shown with --help argument
* s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki2010-09-181-4/+10
| | | | | And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
* s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell2010-09-171-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>
* s4-devel: added enumprivs developer scriptAndrew Tridgell2010-08-261-0/+58
| | | | | | this enumerates all LSA privileges on a server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-devel: added a getncchanges developer scriptAndrew Tridgell2010-08-231-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>
* Remove place-holders when it is single domainZahari Zahariev2010-08-201-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.
* s4: Add a simple script to change dc passwordMatthieu Patou2010-07-151-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>
* DNS objects should not be ignoredZahari Zahariev2010-07-051-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>
* s4/test: fix DC password in selftest-vars.shKamen Mazdrashki2010-06-221-2/+2
|
* s4/selftest: fix passwords in selftest-vars scriptKamen Mazdrashki2010-05-191-2/+2
|
* v2 Latest enhancements in ldapcmp toolZahari Zahariev2010-05-101-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
* s4-devel: a very useful script when dealing with library/linking issuesAndrew Tridgell2010-05-071-0/+15
| | | | | I use this all the time, so I thought I'd put it in the tree for others
* s4-devel: auto-delete any leftover IPsAndrew Tridgell2010-05-061-0/+8
| | | | remove IP from a previous vampire_ad.sh run
* s4-devel: a useful script for giving DRS replication demosAndrew Tridgell2010-05-061-0/+14
|
* s4-drsdevel: support sites in drs developer scriptsAndrew Tridgell2010-04-273-3/+7
|
* s4-devel: allow extra net command line options and gdbAndrew Tridgell2010-04-211-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>
* s4-dev: expanded selftest-vars.sh to match current testenvAndrew Tridgell2010-04-191-4/+41
|
* s4-test: added KRB5_CONFIG to selftest-vars.shAndrew Tridgell2010-04-161-0/+1
|
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* s4-selftest: fix selftest-vars script.Günther Deschner2010-03-221-1/+1
| | | | | | Tridge, please check. Guenther
* build: useful shell vars for setting up selftestAndrew Tridgell2010-03-201-0/+9
|
* devel: get the ownership of the directories right in tmpfs.shAndrew Tridgell2010-02-261-2/+2
|
* s4:scripting/devel Allow tmpfs script to be re-runAndrew Bartlett2010-02-251-1/+4
| | | | By doing the unmount, we can avoid double-mounting st and bin
* s4-devel: added rebuild_zone.shAndrew Tridgell2010-01-161-0/+107
| | | | This rebuilds a DNS zone file, including all DCs from sam.ldb
* Comparison tool for LDAP servers (using Ldb)Zahari Zahariev2010-01-131-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.
* s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystemsAndrew Tridgell2010-01-081-0/+13
| | | | | this makes building and testing s4 as a developer much faster, if you have enough memory!
* s4-devel: support vampire_ad.sh with no initial smb.confAndrew Tridgell2009-12-141-1/+4
|
* s4-drs: use -r to ldbdel in unvampire devel scriptAndrew Tridgell2009-12-081-4/+3
| | | | This ensures we delete any nTDSConnection objects
* s4-devel: for devel scripts its better to use bin/ than $PREFIX/binAndrew Tridgell2009-10-152-6/+7
| | | | | This avoids having to do make install after each change when using the drs devel scripts
* s4:drs-development Scripts to assist testing of DRS replication with ADAndrew Bartlett2009-10-066-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