s4:linked_attributes: fix a crash bug when the definition of a target attribute is...
authorStefan Metzmacher <metze@samba.org>
Thu, 2 Oct 2008 09:05:02 +0000 (11:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 2 Oct 2008 10:20:57 +0000 (12:20 +0200)
commit3ebf3f316b003000b77499f494cf4d017ef870ad
tree338f99f778d288ac8f415adbab367ce40a7d7cd9
parent8aff4430308b36ae1a1a6629d67bba87eebb0dde
s4:linked_attributes: fix a crash bug when the definition of a target attribute is missing

Windows 2003 has a broken schema where the definition of msDS-IsDomainFor
is missing (which is supposed to be the backlink of the msDS-HasDomainNCs
attribute.

Our schema is extracted from windows 2003, so we have the problem.

As the NET-API-BECOME-DC test triggers this bug, windows 2003
seems to just skip creating a backlink.

metze
source4/dsdb/samdb/ldb_modules/linked_attributes.c