summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s4-auth Remove special case for account_sid from auth_serversupplied_infoAndrew Bartlett2011-01-2014-288/+257
| | | | | | | | | | | | This makes everything reference a server_info->sids list, which is now a struct dom_sid *, not a struct dom_sid **. This is in keeping with the other sid lists in the security_token etc. In the process, I also tidy up the talloc tree (move more structures under their logical parents) and check for some possible overflows in situations with a pathological number of sids. Andrew Bartlett
* s4-gensec Add prototype for gensec_ntlmssp_init()Andrew Bartlett2011-01-201-0/+2
| | | | Andrew Bartlett
* libcli/auth move ntlmssp_wrap() and ntlmssp_unwrap() into common code.Andrew Bartlett2011-01-201-123/+12
| | | | | | | The idea here is to allow the source3/libads/sasl.c code to call this instead of the lower level ntlmssp_* functions. Andrew Bartlett
* s4:selftest: mark samba4.nbt.winsreplication.owned as knownfailStefan Metzmacher2011-01-201-0/+1
| | | | | | | | | This sometimes fails on a busy server. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 09:29:12 CET 2011 on sn-devel-104
* s4:selftest/skip: remove samba4.tokengroups.pythonStefan Metzmacher2011-01-201-1/+0
| | | | metze
* lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2011-01-202-1/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
* s4-selftest Remove knownfail for tokengroups testAndrew Bartlett2011-01-191-1/+0
| | | | | | | | | The problem with this test (use of None rather than "" has been fixed) Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 23:56:31 CET 2011 on sn-devel-104
* s4-dsdb Don't use None as the input to the GENSEC loop in tokengroups testAndrew Bartlett2011-01-191-1/+1
| | | | | | The input to gensec.update() should always be a string. Andrew Bartlett
* s4:selftest/skip: add samba4.tokengroups.pythonStefan Metzmacher2011-01-192-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fails randomly like this with an error (not a failure): [651/695 in 27m37s] samba4.tokengroups.python(dc) running client gensec_update UNEXPECTED(error): samba4.tokengroups.python(dc).__main__.TokenTest.test_pac_groups REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 1E2 Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method testMethod() File "/memdisk/tridge/flakey/b2413/source4/source4/dsdb/tests/python/token_group.py", line 142, in test_pac_groups (client_finished, client_to_server) = gensec_client.update(server_to_client) TypeError: expected a string 0 FAILED (0 failures and 1 errors in 0 testsuites) A summary with detailed information can be found in: ./st/summary test: running (/usr/bin/perl /memdisk/tridge/flakey/b2413/source4/source4/../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="/usr/bin/python ./selftest/tests.py|" --exclude=./selftest/slow --socket-wrapper && touch ./st/st_done) | /usr/bin/python -u ../selftest/filter-subunit --expected-failures=./selftest/knownfail --fail-immediately | tee ./st/subunit | /usr/bin/python -u ../selftest/format-subunit --prefix=./st --immediate ERROR: test failed with exit code 1 metze
* s4-dsdb Add PAC validation test to tokengroups test.Andrew Bartlett2011-01-192-21/+79
| | | | | | | | | | | | | This confirms that the groups obtained from a Kerberos PAC match those that a manual search of a target LDAP server would reveal. This should allow mixing of a KDC specified by krb5.conf to test Samba or Windows alternatly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 13:13:48 CET 2011 on sn-devel-104
* s4-pyauth Fix AuthContext wrapperAndrew Bartlett2011-01-191-2/+13
|
* s4-auth Allow NULL methods to be specified to auth_context_create_methods()Andrew Bartlett2011-01-191-14/+3
| | | | | | | This allows us to init an auth context that isn't going to do any NTLM authentication, but is used by other subsystems. Andrew Bartlett
* s4-dsdb Add a test of the tokenGroups behaviour on the user's DN.Andrew Bartlett2011-01-191-3/+21
| | | | Andrew Bartlett
* s4-gensec Remove special case 'for SASL' that is not required any more.Andrew Bartlett2011-01-191-13/+0
| | | | | | | | I've examined the code paths involved, and it appears an alternative fix has been made in the ldap_server/ldap_bind.c code, and there is no code path that uses this behaviour. Andrew Bartlett
* pygensec: remove special case handling for None for buffersAndrew Tridgell2011-01-192-36/+29
| | | | | | always returning a buffer makes life easier for callers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:tls_tstream: also use a dynamic buffer for the pull sideStefan Metzmacher2011-01-181-3/+12
| | | | | | | | | Maybe that fixes the remaining issues with some gnutls versions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 18 17:26:08 CET 2011 on sn-devel-104
* s4:tls_tstream: fix partial reads, so that the gnutls layer doesn't read the ↵Stefan Metzmacher2011-01-181-1/+6
| | | | | | same data twice metze