summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-28s3-torture Fix t_strappend testAndrew Bartlett1-3/+3
2011-10-28selftest: Have only one set of selftest knownfail and skip filesAndrew Bartlett10-76/+52
Listing tests that are not ever proposed (eg samba4.* in the samba3 selftest) is not an error, so just combine the lists. This is being done because some folks trying to learn how our 'make test' works are having trouble following the distributed nature of the selftest system. Andrew Bartlett
2011-10-28selftest: Remove --target option and the ability to run 'samba4 only' testsAndrew Bartlett2-33/+16
This simplifies the selftest system, and by default we always tested all of samba3 and samba4 in the waf build. This simply removes a rarely used option for testing only part of the system. The make test TESTS="^samba3" syntax remains unchanged, so no functionality is lost. Andrew Bartlett
2011-10-28s3-torture remove unused t_push_ucs2.c t_strcmp.c t_strstr.cAndrew Bartlett4-133/+0
These tests were incorportated into source4/scripting/python/samba/tests/strings.py with fa3e2fc8bb3e935c65b7043382cad1d649cb68a6. Andrew Bartlett
2011-10-28s3-torture remove unused t_asn1.cAndrew Bartlett1-65/+0
This test was incorportated into lib/util/test/asn1_test.c with ede98c0e5190bf59461703629d5a4742ad8e044f Andrew Bartlett
2011-10-28examples: rework wscript to use a loopAndrew Bartlett1-84/+23
I think this format is more compact and easier to understand. Andrew Bartlett
2011-10-28s3-passdb: use tevent_context in passdb.Günther Deschner3-8/+9
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104
2011-10-28s3-smbldap: use tevent_context in smbldap.Günther Deschner2-12/+13
Guenther
2011-10-28Add systemd service files.Andreas Schneider4-0/+44
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Oct 28 11:34:27 CEST 2011 on sn-devel-104
2011-10-28s4:librpc/dcerpc_smb2: fix smb2_write_callback()Stefan Metzmacher1-5/+9
The should use smb2_write_recv() to get the result. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 28 09:55:48 CEST 2011 on sn-devel-104
2011-10-28s4:librpc/dcerpc_smb: fix smb_write_callback()Stefan Metzmacher1-5/+10
The should use smb_raw_write_recv() to get the result. metze
2011-10-28s4:torture:smb2: avoid leaking tree connects up to the main function from ↵Michael Adam1-0/+13
the durable_open test The tree connects are handed in from the calling wrapper. Those that are freed and reconnected inside the test function can not be freed in the wrapper and stick to the torture_context until this is released in the main function. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 28 02:37:25 CEST 2011 on sn-devel-104
2011-10-28s4:torture:smb2: fix a nasty double free error.Michael Adam1-2/+10
This error manifested itself in sporadic "talloc_free with references" error.
2011-10-28s4:torture:smb2: fix a commentMichael Adam1-1/+1
2011-10-28s4:torture:smb2: be leass leaky in wrap_simple_2smb2_test()Michael Adam1-4/+9
2011-10-27s3-ctdb: Fix ctdb_read_reqVolker Lendecke1-23/+17
If a complete request has come in already before we consumed it, the ctdb_packet_fd_read_sync will block indefinitely. So always try packet_handler first and only if that fails due to insufficient data, read from the socket. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 27 22:12:05 CEST 2011 on sn-devel-104
2011-10-27s3-ctdb: Add debug to ctdb_processes_existVolker Lendecke1-0/+6
2011-10-27s3: Use serverids_exist in parse_share_modesVolker Lendecke1-1/+23
This is the main reason for the preceding commits. We need to reduce the number of round-trips to ctdb when checking the locking record entries for existence. Using the plural version of process_exists gets the number of round-trips to ctdb for process_exists down to 1.
2011-10-27s3: Add serverids_existVolker Lendecke2-0/+39
2011-10-27s3: Add processes_existVolker Lendecke2-0/+68
2011-10-27s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_existVolker Lendecke1-13/+8
Not strictly necessary, but more code exercise is good
2011-10-27s3-ctdb: Add ctdb_processes_existVolker Lendecke2-0/+101
This sends out a number of process_exists controls in parallel and collects the replies as they come in.
2011-10-27s3-ctdb: Allow ctdb_read_req to read any reqidVolker Lendecke1-1/+1
2011-10-27s3-ctdb: Don't hand out 0 as reqidVolker Lendecke1-4/+13
0 will be used as a wildcard reqid in ctdb_read_req
2011-10-27s3: Use talloc_tos() in parse_share_modes()Volker Lendecke1-1/+1
2011-10-27s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2011-10-27s3: Fix some type-punned warningsVolker Lendecke1-4/+4
2011-10-27s4:wscript - install the two missing files "dlz_bind9.so" and "named.conf.dlz"Geza Gemes2-2/+4
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 27 20:27:32 CEST 2011 on sn-devel-104
2011-10-27s4:repl_meta_data LDB module - don't intercept the partition LDB module ↵Matthias Dieter Wallnöfer1-17/+18
referrals Reviewed-by: abartlet
2011-10-27s4:repl_meta_data LDB module - rename operation - do not overwrite error ↵Matthias Dieter Wallnöfer1-3/+1
messages "ldb_error" could overwrite possibly useful error messages. Reviewed-by: abartlet
2011-10-27s4:repl_meta_data LDB module - remove pointless debug messagesMatthias Dieter Wallnöfer1-4/+0
These are displayed when an object just doesn't exist! Reviewed-by: abartlet
2011-10-27s4:repl_meta_data LDB module - always return the original LDB result codes ↵Matthias Dieter Wallnöfer1-5/+12
on failure And add "ldb_operr()" before the "return ret" to point out the position where it failed (for "add_time_element" and "add_uint64_element") Reworked after a suggestion by abartlet.
2011-10-27s4:repl_meta_data LDB module - "dsdb_search_module_dn" already checks if ↵Matthias Dieter Wallnöfer1-4/+4
len(res) == 1 No need to perform an additional check here. As a return value we should always give back the original error code and not generate a new one (to let the caller know what is going on). Reviewed-by: abartlet
2011-10-27s4:ldap.py - fix up the dSHeuristics test to check for the right behaviourMatthias Dieter Wallnöfer1-15/+27
Reviewed-by: abartlet
2011-10-27s4:objectclass_attrs LDB module - implement the dSHeuristics length checks ↵Matthias Dieter Wallnöfer2-6/+46
correctly Consider bug #8489 Reviewed-by: abartlet
2011-10-27s4:ldap.py - we test the creation of secrets already in the "systemOnly" ↵Matthias Dieter Wallnöfer1-9/+0
testcase Reviewed-by: abartlet
2011-10-27s4:ldap.py - enhance and fix up the object class testMatthias Dieter Wallnöfer1-6/+95
Also address the problem described in bug #8486. Reviewed-by: abartlet
2011-10-27s4:objectclass LDB module - objectclass modify op. - remove superflous ↵Matthias Dieter Wallnöfer1-8/+4
"talloc_strdup" We are adding strings embedded in the schema structure which is basically global and lives longer than the request - hence no duplication needed. Reviewed-by: abartlet
2011-10-27s4:objectclass LDB module - objectclass modify operationsMatthias Dieter Wallnöfer1-95/+32
According to bug #8486 the modification to direct related structural object classes is possible (equal, child, parent). Reviewed-by: abartlet
2011-10-27s4:objectclass LDB module - forbid to add unrelated objectclassesMatthias Dieter Wallnöfer1-0/+61
E.g. unsatisfied abstract objectclasses, additional top-most structural classes Reviewed-by: abartlet
2011-10-27s4:objectclass LDB module - "objectclass_add" - small optimisationMatthias Dieter Wallnöfer1-4/+2
This saves us from doing one "ldb_msg_find_element". Reviewed-by: abartlet
2011-10-27s4:objectclass LDB module - "check_rodc_ntdsdsa_add"Matthias Dieter Wallnöfer1-1/+1
For convention use "ldb_attr_cmp()". Reviewed-by: abartlet
2011-10-27s4:objectclass LDB module - update copyrightMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-10-27s4:password_hash LDB module - fix compiler warning due to unsatisfied "switch"Matthias Dieter Wallnöfer1-0/+3
Bail out on other LDB request types (only add and modify allowed).
2011-10-27s4:ldap.py - fix up the UTF8 testsMatthias Dieter Wallnöfer1-7/+8
Reviewed-by: abartlet
2011-10-27s4:ldap.py - reactivate some assertions in "test_all"Matthias Dieter Wallnöfer1-2/+2
There should always be one result on both s4 and Windows. Reviewed-by: abartlet
2011-10-27s4:torture/ldap/basic.c - fix a typoMatthias Dieter Wallnöfer1-2/+2
Reviewed-by: abartlet
2011-10-27ldb:common/ldb_modules.c - fix a typo in commentMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-10-27s4-torture: Add a user creation check.Andreas Schneider1-0/+288
This adds a patch which creates a non-privileged user and then tries to create a new user as the non-privileged user. Pretty simple test but it found #8509. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 27 18:51:14 CEST 2011 on sn-devel-104
2011-10-27s4-torture: Add a samr privilege check.Andreas Schneider4-1/+330
This is the first part which checks if a deleted user is propagated correctly to all daemons and caches with user information are emtpy.