summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4/samba-tool: 'drs options' command implementationKamen Mazdrashki2011-02-091-0/+71
| | | | Current implementation handle only one flag change per call
* s4-waf Remove source4 build system.Andrew Bartlett2011-02-097-516/+0
| | | | | | The top level build is the official build system now. Andrew Bartlett
* s4-auth Fix setting of bad_password_count in ↵Andrew Bartlett2011-02-091-1/+1
| | | | | | | | auth_convert_user_info_dc_sambaseinfo() Discovered during the convertion to auth_user_info. Andrew Bartlett
* s4-selftest Fix valgrind and gdb options for top level buildAndrew Bartlett2011-02-091-2/+2
| | | | Andrew Bartlett
* s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett2011-02-0935-787/+840
| | | | | | | | | | | | | This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
* s4-auth Add auth.idl to encode auth subsystem structures in IDLAndrew Bartlett2011-02-091-0/+1
| | | | | | | This is not only a useful way to encode stuff, it also allows python to handle the structures, and natrually allows them to be NDR encoded. Andrew Bartlett
* s4-smbtorture: add torture test to check proper add and delete driver ↵Günther Deschner2011-02-081-0/+77
| | | | | | | | operations. Thanks to Bjoern Baumbach <bb@sernet.de> for pushing us to test and verify this. Guenther
* s4-smbtorture: also run the driver timestamp spoolss test against samba.Günther Deschner2011-02-081-4/+0
| | | | Guenther
* s4-waf: split out wscript_build for ndrdump binary.Günther Deschner2011-02-081-8/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 14:50:54 CET 2011 on sn-devel-104
* lib/compression: add shared wscript_build.Günther Deschner2011-02-081-6/+0
| | | | Guenther
* pam: share pam errors in a common location.Günther Deschner2011-02-086-168/+3
| | | | Guenther
* libndr: share some uuid helpers.Günther Deschner2011-02-081-7/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
* ndr: merge duplicate ndr_map_error2ntstatus() functions.Günther Deschner2011-02-081-26/+0
| | | | Guenther
* mit-samba: Allow nesting on the event contextSimo Sorce2011-02-071-0/+3
| | | | | | | | This context is used in ldb, and ldb modules apparently abort if nesting is not allowed. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 7 20:58:02 CET 2011 on sn-devel-104
* s4-build: fixed uses of os.path.relpath()Andrew Tridgell2011-02-071-2/+2
| | | | | | | | | | these should be os_path_relpath() to support older python versions. This should fix the build on FreeBSD 7.2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 05:49:58 CET 2011 on sn-devel-104
* build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2011-02-074-24/+0
| | | | | | | for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-build: remove a bunch of unused build scriptsAndrew Tridgell2011-02-0710-345/+0
| | | | | | | these were leftover from the autoconf build Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 04:09:40 CET 2011 on sn-devel-104
* s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.datAndrew Tridgell2011-02-072-0/+2
| | | | | | this matches samba3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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