s4-dsdb: don't add zero GUID to BINARY_DN
commitc46f80824b649647b5a61364a1b8fe26267bbdd9
authorAndrew Tridgell <tridge@samba.org>
Wed, 22 Jun 2011 01:56:40 +0000 (22 11:56 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 22 Jun 2011 04:47:07 +0000 (22 14:47 +1000)
tree8c0cc2792ac9edd13552e5465a17590e8cb7ca71
parentc173e6e80db7505ccc71d95ed602804133d602d7
s4-dsdb: don't add zero GUID to BINARY_DN

When converting from DRS to ldb format for a BINARY_DN, don't add the
GUID extended DN element if the GUID is all zeros.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/schema/schema_syntax.c