summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-provision: added setup_path() import in two more placesAndrew Tridgell2011-02-072-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-python: get ordering right on python pathsAndrew Tridgell2011-02-071-3/+5
| | | | | | | | | | we need to have PYTHONARCHDIR first, as that is where we currently install. That will minimise problems with upgrades from old installs. We also don't need to add the path twice if PYTHONDIR is the same as PYTHONARCHDIR (as happens on debian based systems) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-python Don't force "bin" into the python sys.pathAndrew Bartlett2011-02-075-25/+8
| | | | | | | | | This patch uses the fact that dyn_PYTHONDIR and dyn_PYTHONARCHDIR is now set properly at all times, incluidng for installed and build-directory binaries. So we don't need to make assumptions about bin being magic any more. Andrew Bartlett
* s4-waf Add PYTHONDIR and PYTHONARCHDIR to the 'different on install' listAndrew Bartlett2011-02-071-0/+2
| | | | | | | | This allows the C code to rely on PYTHONDIR and PYTHONARCHDIR to always be correct, and so not to cause problems when forcing these into sys.path. Andrew Bartlett
* s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett2011-02-0713-187/+125
| | | | | | | | | | | | | | We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
* s4-build: fixed install of version.h from source4 buildAndrew Tridgell2011-02-071-2/+1
|
* s4-upgradeprovision: renames need a relax to avoid subtree_rename checksAndrew Tridgell2011-02-071-2/+3
|
* s4-dsdb: make subtree_rename errors clearerAndrew Tridgell2011-02-071-10/+10
|
* build: fixed make install for top level buildAndrew Tridgell2011-02-071-1/+2
|
* s4-provision: removed spurious os.chdir() from upgradehelpers.pyAndrew Tridgell2011-02-071-1/+0
| | | | | | this breaks make test with a top level build, and is not needed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed samba4.policy.python test for top level buildAndrew Tridgell2011-02-071-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed ndrdump test for top level buildAndrew Tridgell2011-02-071-1/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed hard coded test paths for top level buildAndrew Tridgell2011-02-071-3/+5
| | | | | | | this fixes the various test plans that hard coded incorrect paths for a top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed setup/ assumption for top level buildAndrew Tridgell2011-02-073-6/+13
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dynconfig: fixed dyn_SETUPDIR to point to the right directoryAndrew Tridgell2011-02-071-2/+2
| | | | | | | this make dyn_SETUPDIR correct for both source4/ build and a top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: removed "setup directory" optionAndrew Tridgell2011-02-076-27/+3
| | | | | | | the correct setup directory is known at both build time and install time using dyn_SETUPDIR, so we no longer have any need to override it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed more assumptions of ./setup for setup directoryAndrew Tridgell2011-02-076-21/+21
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: allow make test to work from top level directoryAndrew Tridgell2011-02-072-15/+24
| | | | | | | this fixes the path assumptions in Samba4 make test to allow it to work from the top level directory. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: cope with top level directory for provisionAndrew Tridgell2011-02-072-16/+18
| | | | | | | to allow for top level 'make test' we need to cope with two in-tree directory layouts Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-idl: make the source4 idl build independent of build directory Andrew Tridgell2011-02-071-1/+5
| | | | | | this allows the source4 idl to be built from any top level directory Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-heimdal: allow heimdal build scripts to work from top levelAndrew Tridgell2011-02-071-3/+6
| | | | | | | the version_script handling relied on the directory layout. This makes it independent of the directory structure Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4 torture: add new rpc torture tests for backup key remote protocolMatthieu Patou2011-02-053-2/+1041
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Feb 5 13:01:42 CET 2011 on sn-devel-104
* s4:selftest: skip samba4.rpc.backupkey for nowStefan Metzmacher2011-02-051-0/+1
| | | | metze
* s4:torture/rpc/netlogon: add invalid level tests for netr_LogonControl2Stefan Metzmacher2011-02-021-0/+24
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 2 12:43:32 CET 2011 on sn-devel-104
* s4:torture/rpc/netlogon: improve comments in test_LogonControl2()Stefan Metzmacher2011-02-021-12/+12
| | | | metze
* s4:torture/rpc/netlogon: test invalid netr_LogonControl() levelStefan Metzmacher2011-02-021-0/+7
| | | | metze
* s4:torture/rpc/netlogon: test invalid LogonSamLogon levelsStefan Metzmacher2011-02-021-0/+90
| | | | | | | This proves that the invalid parameter/info class checks need to be done before the credential chain checks. metze
* s4:torture/rpc/netlogon: test validation levels 2 and 3Stefan Metzmacher2011-02-021-1/+1
| | | | metze
* s4:rpc_server/netlogon: add dcesrv_netr_LogonSamLogon_check()Stefan Metzmacher2011-02-021-10/+83
| | | | | | | We need to check for invalid parameters before we check for access denied. metze
* s4:rpc_server/netlogon: set *r->out.authoritative = 1 even on ↵Stefan Metzmacher2011-02-021-2/+3
| | | | | | INVALID_PARAMETER/INFO_CLASS metze
* s4:rpc_server/netlogon: return INVALID_INFO_CLASS for invalid ↵Stefan Metzmacher2011-02-021-1/+1
| | | | | | netr_Validation levels metze
* s4/samba-tool: Add --sync-forced flag to 'drs replicate' commandKamen Mazdrashki2011-02-021-1/+4
| | | | | | | | We are going to need this to trigger replication when inbound replication is disabled for a given DC Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 2 09:03:22 CET 2011 on sn-devel-104
* s4-dsdb Add tests to ensure we don't break the rootDSE function levels againAndrew Bartlett2011-02-021-0/+33
| | | | | | | | | | This both checks that the levels make sense, and they match what they should be based on in the DB. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 2 06:09:53 CET 2011 on sn-devel-104
* s4-dsdb Fix generation of rootDSE domainControllerFunctionalityAndrew Bartlett2011-02-021-1/+3
| | | | | | | | | | The issue here is that when the samdb calls were removed, this call relied on going back to the top of the module stack, so as to re-enter the rootDSE search handler. It makes more sense to check the @ROOTDSE record directly, and therefore not to invoke the search() handler during the init. Andrew Bartlett
* s4-waf Don't install any Samba packages into PYTHONDIRAndrew Bartlett2011-02-022-2/+2
| | | | | | | This causes the parts of Samba installed into PYTHONARCHDIR to then be missed in mixed python/C module namespaces. Andrew Bartlett
* s4-python Remove manipuation of python path from samba moduleAndrew Bartlett2011-02-021-2/+1
| | | | | | | | This manipulation should be done by top level scripts, otherwise we won't find samba in the first place (and these can be munged correctly for the install). Andrew Bartlett
* s4-python Ensure we add the Samba python path first.Andrew Bartlett2011-02-0216-16/+16
| | | | | | | This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
* s4-python Remove unused missing.py (used by old build system)Andrew Bartlett2011-02-021-17/+0
|
* Remove unused installmisc.sh script, from old build systemAndrew Bartlett2011-02-021-98/+0
|
* s4:heimdal: import lorikeet-heimdal-201101310455 (commit ↵Andrew Bartlett2011-02-0254-185/+192
| | | | aa88eb1a05c4985cc23fb65fc1bad75bdce01c1f)
* Added SSL global catalogWilliam Brown2011-02-011-3/+18
| | | | | | | | Reviewed-by: Andrew Bartlett Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 1 20:05:39 CET 2011 on sn-devel-104
* Add knownfail for s4 for the new oplock test.Jeremy Allison2011-01-311-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
* smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option ↵Pavel Shilovsky2011-01-311-0/+95
| | | | set to "no"
* s4-smbtorture: add samr_changepassworduser3 ndr torture tests.Günther Deschner2011-01-311-2/+109
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104
* s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.Günther Deschner2011-01-311-8/+8
| | | | Guenther
* s4:auth/pyauth.c - temporarily add compatibility code for Python 2.4Matthias Dieter Wallnöfer2011-01-301-0/+11
| | | | | | | This patch has been commited by request of Jelmer. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Jan 30 19:07:57 CET 2011 on sn-devel-104
* s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error stringsStefan Metzmacher2011-01-301-0/+1
| | | | metze
* s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon ↵Günther Deschner2011-01-281-0/+26
| | | | | | | | | reply we can't currently parse. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 16:23:30 CET 2011 on sn-devel-104
* s4-smbtorture: add NDR tests for netr_LogonSamLogon.Günther Deschner2011-01-281-1/+65
| | | | Guenther
* s4-acl: Fixed returning uninitialized ldap error in case of some critical ↵Nadezhda Ivanova2011-01-281-7/+10
| | | | | | | errors. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Jan 28 12:04:01 CET 2011 on sn-devel-104