1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4
Tim Beale 1541c50b37 selftest: Add some tests for linked attribute conflicts
Currently we have tests that check we can resolve object conflicts, but
these don't test anything related to conflicting linked attributes.
This patch adds some basic tests that checks that Samba can resolve
conflicting linked attributes.

This highlights some problems with Samba, as the following tests
currently fail:
- test_conflict_single_valued_link: Samba currently can't resolve a
  conflicting targets for a single-valued linked attribute - the
  replication exits with an error.
- test_link_deletion_conflict: If 2 DCs add the same linked attribute,
  currently when they resolve this conflict the RMD_VERSION for the
  linked attribute incorrectly gets incremented. This means the version
  numbers get out of step and subsequent changes to the linked attribute
  can be dropped/ignored.
- test_full_sync_link_conflict: fails for the same reason as above.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Mon Sep 18 09:56:41 CEST 2017 on sn-devel-144
2017-09-18 09:56:41 +02:00
..
auth s4:auth/ntlmssp: add support for using "winbind" as DC 2017-08-07 15:20:03 +02:00
build/pasn1
cldap_server s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
client s4: cifsdd: Allocate the event context off NULL, not talloc_autofree_context(). 2017-05-13 16:50:13 +02:00
cluster Remove callers of lp_use_ntdb 2015-03-17 11:30:51 +01:00
dns_server s4:bind_dlz: Try the 'binddns dir' first 2017-09-16 00:57:24 +02:00
dsdb replmd: Avoid duplicated debug/warnings 2017-09-18 05:51:25 +02:00
echo_server s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
heimdal HEIMDAL: don't bother seeing q if not sent 2017-08-28 15:10:54 +02:00
heimdal_build strerror_r: provide XSI-compliant strerror_r 2017-06-13 18:38:14 +02:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc mit-kdb: Fix NULL pointer check after malloc 2017-07-24 18:45:33 +02:00
ldap_server ldap: Run the LDAP server with the default (typically standard) process model 2017-07-02 17:35:20 +02:00
lib lib: talloc: Use the system <talloc.h> include. 2017-08-17 00:53:48 +02:00
libcli python: Fix bad type in conversion of NTSTATUS. 2017-09-06 11:35:18 +02:00
libnet debug: Add new debug class "drs_repl" for DRS replication processing 2017-09-07 06:56:27 +02:00
librpc Install dcerpc/__init__.py for all Python environments 2017-09-14 22:29:39 +02:00
nbt_server s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
ntp_signd s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
ntvfs s4:auth/unix_token: remove unused tevent_context from security_token_to_unix_token() 2017-06-26 08:47:15 +02:00
param source4/provision: fix talloc_steal on unallocated memory 2017-05-25 02:25:13 +02:00
rpc_server getncchanges.c: max_links calculation didn't work well in some cases 2017-09-18 05:51:25 +02:00
script
scripting samba_upgradedns: When we setup the internal dns cleanup bind-dns dir 2017-09-16 00:57:25 +02:00
selftest selftest: Add some tests for linked attribute conflicts 2017-09-18 09:56:41 +02:00
setup selftest: Add a test for @ATTRIBUTES and @INDEXLIST generation 2017-06-15 01:24:25 +02:00
smb_server s4:smb_server: avoid using gensec_update_ev() for the negotiate blob 2017-05-21 21:05:08 +02:00
smbd s4/smbd: set the process group. 2017-09-18 04:39:50 +02:00
torture selftest: Add some tests for linked attribute conflicts 2017-09-18 09:56:41 +02:00
utils man pages: change http://samba.org to https://www.samba.org 2016-12-09 13:10:26 +01:00
web_server s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
winbind s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
wrepl_server s4: Add TALLOC_CTX * to register_server_service(). 2017-05-11 20:30:13 +02:00
.clang_complete
.valgrind_suppressions
wscript_build