s4:dsdb Fix possible schema segfaults for DRS-replication based schema
authorAndrew Bartlett <abartlet@samba.org>
Wed, 30 Jun 2010 00:20:11 +0000 (10:20 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 Jun 2010 00:22:59 +0000 (10:22 +1000)
commit32b8b401d6de27caa02a258fd540a208c486d1d6
tree4b6368af4049b06a42cb5303dc1db5ec6917720c
parent73fbc9c1791c2391ccb59a2a02df009cbd2fdc7e
s4:dsdb Fix possible schema segfaults for DRS-replication based schema

The problem here is that if the schema has been modified on the source
domain, there may be attributes that appear over DRS with 0 values (to
indicate that any existing values on the target should be deleted).
This would confuse the previous version of this macro.

Andrew Bartlett
source4/dsdb/schema/schema_init.c