Andrew Bartlett
3167b95cad
examples: rework wscript to use a loop
...
I think this format is more compact and easier to understand.
Andrew Bartlett
2011-10-28 13:10:27 +02:00
Günther Deschner
2330e52cac
s3-passdb: use tevent_context in passdb.
...
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-28 13:09:47 +02:00
Günther Deschner
0b6ced6209
s3-smbldap: use tevent_context in smbldap.
...
Guenther
2011-10-28 11:35:28 +02:00
Andreas Schneider
7d7ba3ba40
Add systemd service files.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Fri Oct 28 11:34:27 CEST 2011 on sn-devel-104
2011-10-28 11:34:27 +02:00
Stefan Metzmacher
6c07505b15
s4:librpc/dcerpc_smb2: fix smb2_write_callback()
...
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-28 09:55:48 +02:00
Stefan Metzmacher
926b3394b6
s4:librpc/dcerpc_smb: fix smb_write_callback()
...
The should use smb_raw_write_recv() to get the result.
metze
2011-10-28 08:11:00 +02:00
Michael Adam
ac79427aa0
s4:torture:smb2: avoid leaking tree connects up to the main function from 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-28 02:37:25 +02:00
Michael Adam
daf7193c1d
s4:torture:smb2: fix a nasty double free error.
...
This error manifested itself in sporadic "talloc_free with references" error.
2011-10-28 01:00:01 +02:00
Michael Adam
52b87f63e2
s4:torture:smb2: fix a comment
2011-10-28 01:00:01 +02:00
Michael Adam
b343a60ad7
s4:torture:smb2: be leass leaky in wrap_simple_2smb2_test()
2011-10-28 01:00:00 +02:00
Volker Lendecke
a29f7e632f
s3-ctdb: Fix ctdb_read_req
...
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-27 22:12:05 +02:00
Volker Lendecke
195ae03950
s3-ctdb: Add debug to ctdb_processes_exist
2011-10-27 20:28:31 +02:00
Volker Lendecke
4a96b629a6
s3: Use serverids_exist in parse_share_modes
...
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-27 20:28:31 +02:00
Volker Lendecke
37d7d52358
s3: Add serverids_exist
2011-10-27 20:28:31 +02:00
Volker Lendecke
ba0171f724
s3: Add processes_exist
2011-10-27 20:28:31 +02:00
Volker Lendecke
c5cfc83a3e
s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_exist
...
Not strictly necessary, but more code exercise is good
2011-10-27 20:28:31 +02:00
Volker Lendecke
1c4fe39033
s3-ctdb: Add ctdb_processes_exist
...
This sends out a number of process_exists controls in parallel and collects the
replies as they come in.
2011-10-27 20:28:31 +02:00
Volker Lendecke
c2edecf6bd
s3-ctdb: Allow ctdb_read_req to read any reqid
2011-10-27 20:28:31 +02:00
Volker Lendecke
2cf1347211
s3-ctdb: Don't hand out 0 as reqid
...
0 will be used as a wildcard reqid in ctdb_read_req
2011-10-27 20:28:31 +02:00
Volker Lendecke
e5231a5976
s3: Use talloc_tos() in parse_share_modes()
2011-10-27 20:28:31 +02:00
Volker Lendecke
22ccbf2bd4
s3: Fix some nonempty blank lines
2011-10-27 20:28:31 +02:00
Volker Lendecke
4b9cc8f8f9
s3: Fix some type-punned warnings
2011-10-27 20:28:31 +02:00
Geza Gemes
a0f7c990f4
s4:wscript - install the two missing files "dlz_bind9.so" and "named.conf.dlz"
...
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-27 20:27:32 +02:00
Matthias Dieter Wallnöfer
673be97f1e
s4:repl_meta_data LDB module - don't intercept the partition LDB module referrals
...
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
2ee42ebab3
s4:repl_meta_data LDB module - rename operation - do not overwrite error messages
...
"ldb_error" could overwrite possibly useful error messages.
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
57b8bc74c4
s4:repl_meta_data LDB module - remove pointless debug messages
...
These are displayed when an object just doesn't exist!
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
45b4b8264a
s4:repl_meta_data LDB module - always return the original LDB result codes 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-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
3fe747538b
s4:repl_meta_data LDB module - "dsdb_search_module_dn" already checks if 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-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
d95b4c9497
s4:ldap.py - fix up the dSHeuristics test to check for the right behaviour
...
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
6287d0d61c
s4:objectclass_attrs LDB module - implement the dSHeuristics length checks correctly
...
Consider bug #8489
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
bb02aa5e00
s4:ldap.py - we test the creation of secrets already in the "systemOnly" testcase
...
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
6fc55cb9f2
s4:ldap.py - enhance and fix up the object class test
...
Also address the problem described in bug #8486 .
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
751bab4fb2
s4:objectclass LDB module - objectclass modify op. - remove superflous "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-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
184c17587c
s4:objectclass LDB module - objectclass modify operations
...
According to bug #8486 the modification to direct related structural
object classes is possible (equal, child, parent).
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
68b3770c45
s4:objectclass LDB module - forbid to add unrelated objectclasses
...
E.g. unsatisfied abstract objectclasses, additional top-most structural
classes
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
730257f4c0
s4:objectclass LDB module - "objectclass_add" - small optimisation
...
This saves us from doing one "ldb_msg_find_element".
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
82d9c9e5a0
s4:objectclass LDB module - "check_rodc_ntdsdsa_add"
...
For convention use "ldb_attr_cmp()".
Reviewed-by: abartlet
2011-10-27 18:52:29 +02:00
Matthias Dieter Wallnöfer
3756508fec
s4:objectclass LDB module - update copyright
...
Reviewed-by: abartlet
2011-10-27 18:52:28 +02:00
Matthias Dieter Wallnöfer
7161bb4b37
s4:password_hash LDB module - fix compiler warning due to unsatisfied "switch"
...
Bail out on other LDB request types (only add and modify allowed).
2011-10-27 18:52:28 +02:00
Matthias Dieter Wallnöfer
c9ac028951
s4:ldap.py - fix up the UTF8 tests
...
Reviewed-by: abartlet
2011-10-27 18:52:28 +02:00
Matthias Dieter Wallnöfer
5875661cf2
s4:ldap.py - reactivate some assertions in "test_all"
...
There should always be one result on both s4 and Windows.
Reviewed-by: abartlet
2011-10-27 18:52:28 +02:00
Matthias Dieter Wallnöfer
b75396579f
s4:torture/ldap/basic.c - fix a typo
...
Reviewed-by: abartlet
2011-10-27 18:52:28 +02:00
Matthias Dieter Wallnöfer
8a6daa3cf9
ldb:common/ldb_modules.c - fix a typo in comment
...
Reviewed-by: abartlet
2011-10-27 18:52:28 +02:00
Andreas Schneider
b972bd53d7
s4-torture: Add a user creation check.
...
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-27 18:51:14 +02:00
Andreas Schneider
4186ef9560
s4-torture: Add a samr privilege check.
...
This is the first part which checks if a deleted user is propagated
correctly to all daemons and caches with user information are emtpy.
2011-10-27 17:09:50 +02:00
Andreas Schneider
b411b81642
s4-torture: Add torture_delete_testuser().
2011-10-27 17:09:50 +02:00
Andreas Schneider
80e942aec9
s4-torture: Add domain_handle to test_join struct.
2011-10-27 17:09:50 +02:00
Andreas Schneider
beb42c3774
s3-build: Add .clang_complete.
2011-10-27 17:09:50 +02:00
Stefan Metzmacher
790c6b4027
s3:rpc_client: remove references to auth_ntlmssp_state
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct 27 16:40:15 CEST 2011 on sn-devel-104
2011-10-27 16:40:15 +02:00
Andreas Schneider
cdb7ef9118
s3: Enable uid wrapper.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Oct 27 15:06:58 CEST 2011 on sn-devel-104
2011-10-27 15:06:58 +02:00