1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
Stefan Metzmacher 5357f591ac blackbox/dbcheck-links.sh: reproduce lost deleted object problem
When a parent object is removed during the tombstone garbage collection
before a child object and samba-tool dbcheck runs at the same time, the
following can happen:

- If the object child had DISALLOW_MOVE_ON_DELETE in systemFlags,
  samba-tool dbcheck moves the object under the LostAndFound[Config]
  object (as an originating update!)
- The lastKnownParent attribute is removed (as an originating update!)

These originating updates cause the object to have an extended time
as tombstone. And these changes are replicated to other DCs,
which very likely already removed the object completely!

This means the destination DC of replication has no chance to handle
the object it gets from the source DC with just 2 attributes (name, lastKnownParent).

The destination logs something like:

  No objectClass found in replPropertyMetaData

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13816

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-03-14 02:12:19 +00:00
..
auth sam.c: allocate account_sid on tmp_ctx 2019-03-06 04:30:22 +00:00
build/pasn1
cldap_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
client s4:cifsdd: Use C99 initializers for cifsdd argdef 2019-01-28 10:29:26 +01:00
cluster dbwrap: Remove calls to loadparm 2018-04-24 01:53:19 +02:00
dns_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
dsdb lib: Remove "struct sid_parse_ret" again 2019-03-12 00:42:19 +00:00
echo_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
heimdal PY3: fix "TabError: inconsistent use of tabs and spaces" 2018-09-27 01:54:27 +02:00
heimdal_build wscript: separate embedded_heimdal from system_heimdal 2019-01-29 22:09:07 +01:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc kdc hdb: Generate and pass logon ID 2019-02-20 06:03:09 +01:00
ldap_server CVE-2018-16851 ldap_server: Check ret before manipulating blob 2018-11-28 08:22:24 +01:00
lib source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
libcli source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
libnet libnet: Use dom_sid_str_buf 2019-02-27 01:35:19 +01:00
librpc s4/librpc/py_misc: ParseTuple format should match actual types 2019-02-08 13:31:39 +01:00
nbt_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
ntp_signd ntpd: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
ntvfs s4:ntvfs: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:24 +01:00
param s4/param: Fix provision_get_schema leaking python object 2019-02-21 04:09:19 +01:00
rpc_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
script PY3: change shebang to python3 in source4/dsdb dir 2018-12-14 14:40:20 +01:00
scripting s4/scripting: remove obsolete w32err_code.py 2019-03-14 02:12:18 +00:00
selftest blackbox/dbcheck-links.sh: reproduce lost deleted object problem 2019-03-14 02:12:19 +00:00
setup s4:setup: register ${NTDSGUID}._msdcs.${DNSFOREST} first in dns_update_list 2019-02-14 02:18:28 +01:00
smb_server spelling of associated 2019-02-13 04:15:14 +01:00
smbd s4-server: Open and close a transaction on sam.ldb at startup 2019-03-07 04:58:42 +00:00
torture lib: Remove "struct sid_parse_ret" again 2019-03-12 00:42:19 +00:00
utils s4/utils/test: PY3 make sure we call correct python version for samba-tool 2018-12-10 10:38:20 +01:00
winbind winbind4: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
wrepl_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00