summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-test-fsmo.py: Implement kind of busy-wait for role transferKamen Mazdrashki2010-10-031-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
* s4-test-dsdb_schema_info.py: Get rid of global module variablesKamen Mazdrashki2010-10-031-17/+19
|
* s4-test-dsdb_schema_info.py: Simplify connection SamDBKamen Mazdrashki2010-10-031-19/+3
| | | | by using samba.tests.connect_samdb() helper
* s4-test-fsmo.py: Use common implementation for env_get_var_value()Kamen Mazdrashki2010-10-031-8/+2
|
* s4-test-delete_object.py: Use common implementation for env_get_var_value()Kamen Mazdrashki2010-10-031-8/+2
|
* s4-python-test: Common implementation for getting environment variable valueKamen Mazdrashki2010-10-031-0/+11
| | | | | Unit-test based python tests require certain input parameters to be set in environment, otherwise they can't be run
* s4-python-samba: Remove trailing ';'sKamen Mazdrashki2010-10-032-29/+29
|
* s4-test-fsmo.py: Use common implementation for connect_samdb()Kamen Mazdrashki2010-10-031-22/+2
| | | | | Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs
* s4-test-delete_object.py: Use common implementation for connect_samdb()Kamen Mazdrashki2010-10-031-20/+2
| | | | | Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs
* s4-python-test: Implement global connect_samdb() functionKamen Mazdrashki2010-10-031-0/+46
| | | | | This helper makes proper ldb url to connect to and is a shorthand for test to create SamDB connections
* s4-samba.samdb: Fix masking names from outer contextKamen Mazdrashki2010-10-031-17/+17
| | | | | - 'filter' is built-in - 'ldb' is a module name we imported
* s4-python-samba: 'file' is a built-inKamen Mazdrashki2010-10-031-3/+3
|
* s4-samba.samdb: Fix leading indention and trailing ';'Kamen Mazdrashki2010-10-031-10/+10
|
* s4-python-samba: Fix few cosmeticsKamen Mazdrashki2010-10-031-4/+3
| | | | | - we have sys module already imported - _glue module is part of samba package so be more precise how to import
* s4-repl: use the GC principal name for DRS replication connectionAndrew Tridgell2010-10-013-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>
* s4-rpc: added target_principal binding handle optionAndrew Tridgell2010-10-016-4/+16
| | | | | | this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_search_by_dn_guid()Andrew Tridgell2010-10-011-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>
* s4:rpc_server/netlogon: don't use dcerpc_binding_handle_call_send/recv() ↵Stefan Metzmacher2010-10-021-12/+9
| | | | | | | | | directly metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 2 03:11:38 UTC 2010 on sn-devel-104
* s4-gensec Always honour the set server principalAndrew Bartlett2010-10-021-1/+1
| | | | | | | | | | The spengo code won't set this unless it is allowed to by this same option, but other callers may need it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 2 02:27:39 UTC 2010 on sn-devel-104
* s4-drs: fixed comparison login in replicated renamesAndrew Tridgell2010-10-021-45/+72
| | | | | | | | we need to ensure we only ever compare USNs from the same originating invocation ID. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Oct 2 01:45:19 UTC 2010 on sn-devel-104
* s4-kcc: remove stale repsTo entries in the KCCAndrew Tridgell2010-10-021-0/+32
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kerberos Don't regenerate key values for each alias in keytabAndrew Bartlett2010-10-021-43/+35
| | | | | | | | | Instead, store the same key value under the multiple alias names. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 2 00:16:52 UTC 2010 on sn-devel-104
* s4-kdc Rework 'allowed encryption types' handling in the KDCAndrew Bartlett2010-10-021-28/+44
| | | | | | | All DCs and all krbtgt servers are forced to use AES, regardless of the msDS-SecondaryKrbTgtNumber value. Andrew Bartlett
* s4-auth Add make_server_info_pac() to include 'resource domain' groupsAndrew Bartlett2010-10-022-5/+40
| | | | | | | | Previously, our PAC code didn't include these groups into the server_info from which we would eventually calculate the full list of tokenGroups. Andrew Bartlett
* s4-auth Allocate domain SIDs under the sids array, not server_infoAndrew Bartlett2010-10-021-1/+1
| | | | Andrew Bartlett
* heimdal use returned server entry from HDB to compare realmsAndrew Bartlett2010-10-021-1/+1
| | | | | | | | Some hdb modules (samba4) may change the case of the realm in a returned result. Use that to determine if it matches the krbtgt realm also returned from the DB (the DB will return it in the 'right' case) Andrew Bartlett
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-0112-173/+8
| | | | Guenther
* samba: share select wrappers.Günther Deschner2010-10-011-45/+0
| | | | Guenther
* s4-auth: fixed a vagrind error when creating keytabsAndrew Tridgell2010-10-011-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rpmd: fixed a use after realloc bugAndrew Tridgell2010-10-011-2/+8
| | | | | | | we could use old_el after the base message had been re allocated, due to adding timestamps. We need to re-find the element before using it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fail the transaction instead of asserting on errorAndrew Tridgell2010-10-011-2/+10
| | | | | | | | It is more useful to fail the transaction and give the user an error message than to assert when we have an error in the repl_meta_data module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: Add 'subunit-test' make target.Jelmer Vernooij2010-10-011-0/+3
|
* autobuild-remote: Support autobuild.py rather than land.py.Jelmer Vernooij2010-10-011-50/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 1 09:46:37 UTC 2010 on sn-devel-104
* Remove land.py - it's been obsoleted by autobuild.py.Jelmer Vernooij2010-10-011-118/+0
|
* heimdal: added verbose logging of hemimdal crypto errorsAndrew Bartlett2010-09-301-2/+15
|
* s4-rodc: don't set SPECIAL_SECRET_PROCESSING on EXOP_REPL_SECRETAndrew Tridgell2010-09-301-0/+3
| | | | | | otherwise we don't get the secrets! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-spn: don't try and send an empty SPN listAndrew Tridgell2010-09-301-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* selftest: Let selftest provide the tempdir, rather than creating it as ↵Jelmer Vernooij2010-10-012-6/+2
| | | | sideeffect of tests.py.
* selftest: fixed a selftest error on snAndrew Tridgell2010-09-301-1/+1
| | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* delete_object: Remove unnecessary pass calls.Jelmer Vernooij2010-10-011-7/+0
|
* s4-selftest: Remove unnecessary PYTHONPATH overrides.Jelmer Vernooij2010-10-011-6/+6
|
* s4-selftest: Normalize paths.Jelmer Vernooij2010-10-011-5/+5
|
* s4-selftest: Finish conversion of selftest.sh to Python.Jelmer Vernooij2010-10-012-104/+104
|
* s4-selftest: Convert tests.sh to Python.Jelmer Vernooij2010-10-012-544/+510
|
* s4-provision: wipe the old keytabs when provisioningAndrew Tridgell2010-09-302-7/+29
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytabAndrew Tridgell2010-09-301-2/+5
| | | | | | we need to fetch the msDS-keyVersionNumber from the writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: put the GCSPN flag into the repsTo if requestedAndrew Tridgell2010-09-302-0/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: wipe the old keytab when exportingAndrew Tridgell2010-09-301-0/+2
| | | | | | this prevents confusion with old keytab entries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: silence the domainFunctionality not setup warningAndrew Tridgell2010-09-301-1/+2
|
* s4-drs: added support for level 10 of getncchangesAndrew Tridgell2010-09-302-73/+112
| | | | added a simple mapping from req8