s4-drs: do not return links pointed to unexistant objects
authorMatthieu Patou <mat@matws.net>
Thu, 7 Jul 2011 22:06:04 +0000 (02:06 +0400)
committerAndrew Tridgell <tridge@samba.org>
Mon, 11 Jul 2011 04:32:45 +0000 (14:32 +1000)
commit723fc5fadd55987d38641508a3c50314147588c3
treeb686579a74dbfd0ddf8c38915c1477fea7d6d4e3
parent4a4c748d2b3071ad7cd06b96cb0279a89c3ec6d0
s4-drs: do not return links pointed to unexistant objects

When an object is deleted, link pointed to it are marked as inactive.
When the same object is purged we do not remmove the link pointed to it
(we can't know them) so they stay in the database, it turns to be a
problem for Windows 2008.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/rpc_server/drsuapi/getncchanges.c