s4-dsdb: enforce NULL DN validity in partition module
authorAndrew Tridgell <tridge@samba.org>
Fri, 19 Aug 2011 07:35:45 +0000 (17:35 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 24 Aug 2011 21:39:38 +0000 (07:39 +1000)
commit12166497729252469ac3ffbf0495842cdc85cff0
tree2dfd1a05a6bc8d65cdb57fbbe97198ff26b6d7f3
parent171c3cdd4a506bfebdcb031d2130d7eb627d2d38
s4-dsdb: enforce NULL DN validity in partition module

windows does not allow a search on the empty DN except for rootDSE
searches or for phantom_root searches (ie. with --cross-ncs). By
enforcing this in Samba we make it more likely that our tests and
utilities will work against windows

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/partition.c