summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s4-torture: Reorder the epmapper tests.Andreas Schneider2011-01-271-8/+9
| | | | | | | It works like a stack! Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jan 27 15:28:05 CET 2011 on sn-devel-104
* s4-torture: Added a full epm_Map test.Andreas Schneider2011-01-271-95/+231
|
* s4-torture: Added a test_Insert for epmapper.Andreas Schneider2011-01-271-0/+46
|
* s4-torture: Use binding handle in epm_Delete test.Andreas Schneider2011-01-271-3/+18
|
* s4-torture: Comment out the test_InqObject.Andreas Schneider2011-01-271-0/+6
|
* s4-torture: Added a clean test_Map_simple.Andreas Schneider2011-01-271-17/+77
|
* s4-torture: Added a clean test_Lookup_terminate_search.Andreas Schneider2011-01-271-0/+59
|
* s4-torture: Added a clean test_Lookup_simple.Andreas Schneider2011-01-271-34/+48
|
* s4-torture: Added test_LookupHandleFree.Andreas Schneider2011-01-271-0/+37
|
* s4-torture: Start with a clean epm_Insert_noreplace test.Andreas Schneider2011-01-271-29/+48
|
* s4-selftest: Mark epmapper as knownfail.Andreas Schneider2011-01-271-2/+1
|
* errormap: Add unix_to_werror() functionKai Blin2011-01-261-0/+6
| | | | | | | | | | | While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
* s4-test/delete_object: Remove global ldb connectionsKamen Mazdrashki2011-01-251-26/+7
| | | | | | | Make it more xUnit compliant Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Jan 25 21:30:19 CET 2011 on sn-devel-104
* s4:ldap.py - check the write protection on LSA objectsMatthias Dieter Wallnöfer2011-01-251-5/+30
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 25 13:09:41 CET 2011 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/objectclass.c - move LSA specific object checks ↵Matthias Dieter Wallnöfer2011-01-252-32/+29
| | | | | | | | | | | | | | into "objectclass_attrs" LDB module LSA object classes are protected on both LDAP add and LDAP modify operations, so I've refactored the previous check in the objectclass LDB module only for LDAP adds in a new one in the objectclass_attrs LDB module for both adds and modifies. This is the result of the investigations done by Hongwei Sun and I in the last months. Interestingly these protection mechansim doesn't apply on LDAP deletes! Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* waf: share libndr.so between samba3 and samba4.Günther Deschner2011-01-251-11/+0
| | | | Guenther
* s4-repl_meta_data: replmd_update_is_newer() should not return true if ↵Kamen Mazdrashki2011-01-221-3/+3
| | | | | | | metadata stamps are equal Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Jan 22 12:22:30 CET 2011 on sn-devel-104
* s4-repl_meta_data: Print out what is wrong when we fail to modify objectKamen Mazdrashki2011-01-221-0/+1
|
* s4-repl_meta_data: We should not use USNs in metadata comparisonsKamen Mazdrashki2011-01-221-11/+0
| | | | If object is changed by same DC, then version should be incremented
* s4-smbtorture: make sure there is always driverextra data in spoolss devmode ↵Günther Deschner2011-01-211-2/+10
| | | | | | size tests. Guenther
* s4-smbtorture: add tests for the size member of spoolss devicemodes.Günther Deschner2011-01-211-1/+5
| | | | Guenther
* s4-smbtorture: prepare devicemode test for expected result tests.Günther Deschner2011-01-211-9/+15
| | | | Guenther
* s4-smbtorture: add some paranoia checks for 0 sized devmodes.Günther Deschner2011-01-211-0/+15
| | | | Guenther