summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-10-03s4-getopt.py: Make Anonymous creds when no credentialsKamen Mazdrashki1-2/+7
are supplied on command line and caller doesn't want us to guess credentials from environment
2010-10-03s4-test-fsmo.py: Implement kind of busy-wait for role transferKamen Mazdrashki1-18/+36
This allows us not to hard code timeout we are going to wait for before failing the test - if DCs are not very busy, we won't wait at all (speeds up 'make test' by a minute also) Maximum timeout to wait for is set to 20 secs currently, which should be enough even for slow machines and tested DCs being under load
2010-10-03s4-test-dsdb_schema_info.py: Get rid of global module variablesKamen Mazdrashki1-17/+19
2010-10-03s4-test-dsdb_schema_info.py: Simplify connection SamDBKamen Mazdrashki1-19/+3
by using samba.tests.connect_samdb() helper
2010-10-03s4-test-fsmo.py: Use common implementation for env_get_var_value()Kamen Mazdrashki1-8/+2
2010-10-03s4-test-delete_object.py: Use common implementation for env_get_var_value()Kamen Mazdrashki1-8/+2
2010-10-03s4-python-test: Common implementation for getting environment variable valueKamen Mazdrashki1-0/+11
Unit-test based python tests require certain input parameters to be set in environment, otherwise they can't be run
2010-10-03s4-python-samba: Remove trailing ';'sKamen Mazdrashki2-29/+29
2010-10-03s4-test-fsmo.py: Use common implementation for connect_samdb()Kamen Mazdrashki1-22/+2
Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs
2010-10-03s4-test-delete_object.py: Use common implementation for connect_samdb()Kamen Mazdrashki1-20/+2
Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs
2010-10-03s4-python-test: Implement global connect_samdb() functionKamen Mazdrashki1-0/+46
This helper makes proper ldb url to connect to and is a shorthand for test to create SamDB connections
2010-10-03s4-samba.samdb: Fix masking names from outer contextKamen Mazdrashki1-17/+17
- 'filter' is built-in - 'ldb' is a module name we imported
2010-10-03s4-python-samba: 'file' is a built-inKamen Mazdrashki1-3/+3
2010-10-03s4-samba.samdb: Fix leading indention and trailing ';'Kamen Mazdrashki1-10/+10
2010-10-03s4-python-samba: Fix few cosmeticsKamen Mazdrashki1-4/+3
- we have sys module already imported - _glue module is part of samba package so be more precise how to import
2010-10-03s3: Attempt to fix the non-ads buildVolker Lendecke1-1/+1
2010-10-03land-remote: Pass extra arguments on to land.Jelmer Vernooij2-3/+3
2010-10-02pytdb: Include Python.h first to prevent warning.Jelmer Vernooij1-1/+1
2010-10-02subunithelper: Remove accidentally added line.Jelmer Vernooij1-3/+0
2010-10-02pytdb: Check errors after PyObject_New() callsKirill Smelkov1-0/+7
The call could fail with e.g. MemoryError, and we'll dereference NULL pointer without checking. Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02pytdb: Add support for tdb_repack()Kirill Smelkov2-0/+15
Cc: 597386@bugs.debian.org Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02pytdb: Add TDB_INCOMPATIBLE_HASH open flagKirill Smelkov1-0/+1
In 2dcf76 Rusty added TDB_INCOMPATIBLE_HASH open flag which selects Jenkins lookup3 hash for new databases. Expose this flag to python users too. Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02subunithelper: Fix format time.Jelmer Vernooij1-1/+2
2010-10-02land: Implement --fail-immediately directly in Python, provide subunit file.Jelmer Vernooij1-26/+96
2010-10-02subunithelper: Make filter options optional.Jelmer Vernooij1-9/+9
2010-10-02format-subunit: Split out summary file writing.Jelmer Vernooij1-7/+11
2010-10-02selftest: Move plain text formatter to subunithelper.Jelmer Vernooij2-204/+204
2010-10-02land: Add separate treestagebuilder for subunit.Jelmer Vernooij1-12/+41
2010-10-02land: Cherry-pick tridges changes to autobuild.Jelmer Vernooij1-3/+22
2010-10-02land: Move stage building into a separate class so we can have subclasses ↵Jelmer Vernooij2-36/+64
(e.g. subunit-specific).
2010-10-02land: Only pass shell=True if necessary.Jelmer Vernooij1-19/+22
2010-10-02land: Add --fail-slowly option.Jelmer Vernooij2-6/+13
2010-10-02Several smaller cleanups, use python coding style.Jelmer Vernooij1-17/+16
2010-10-02land: Avoid running things in a shell where not necessary.Jelmer Vernooij1-4/+9
2010-10-02land-remote: Checkout repository first.Jelmer Vernooij1-2/+3
2010-10-02land-remote: Use --repository option.Jelmer Vernooij1-1/+1
2010-10-02land: Add --repository option.Jelmer Vernooij2-4/+12
2010-10-02land: Move more functionality onto builder.Jelmer Vernooij1-9/+23
2010-10-02land: Avoid more uses of chdir().Jelmer Vernooij1-8/+2
2010-10-02Split land.py back out of autobuild.py, so I can change it withoutJelmer Vernooij2-0/+473
risking to break the autobuild system.
2010-10-02s3: Attempt to fix bug 7665Volker Lendecke11-136/+295
Quite a few of our internal routines put stuff on talloc_tos() these days. In top-level netapi routines, properly allocate a stackframe and clean it again. Also, don't leak memory in the rpccli_ callers onto the libnetapi context.
2010-10-02s3: Fix a 64-bit BUGVolker Lendecke1-1/+1
Quick explanation why this is a problem: It is not safe to pass a pointer to a uint32_t into a routine that expects a size_t *. The routine that this pointer is passed to has no chance to find out that in reality it was passed a pointer to a uint32_t. On platforms where sizeof(size_t)==8, we get a nice overwrite of a stack area that should not be overwritten. As this happens over an over again: Does someone know a means to make gcc stop with an error in this case? Volker
2010-10-02bisect: more bisection optionsAndrew Tridgell1-6/+12
and fixes for the old ones Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Oct 2 06:14:46 UTC 2010 on sn-devel-104
2010-10-01script: added bisect-test.py git bisect scriptAndrew Tridgell1-0/+85
this can be used to work out what commit broke a set of tests
2010-10-01autobuild: show top commit in emailsAndrew Tridgell1-2/+20
2010-10-01autobuild: include autobuild.log in logs.tar.gzAndrew Tridgell1-0/+1
2010-10-01s4-repl: use the GC principal name for DRS replication connectionAndrew Tridgell3-6/+76
this is required when talking to RODCs (for notify calls), and is good practice for all DCs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01s4-rpc: added target_principal binding handle optionAndrew Tridgell7-6/+18
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-01s4-dsdb: added dsdb_search_by_dn_guid()Andrew Tridgell1-0/+26
this is more efficient than first searching for the DN, then doing a search. We should look at using this in lots of existing code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>