s4-dsdb: fixed the check_optional_feature() call
authorAndrew Tridgell <tridge@samba.org>
Fri, 7 Oct 2011 00:46:05 +0000 (11:46 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 7 Oct 2011 02:20:44 +0000 (13:20 +1100)
commit365f705345be02915fafedc83ec3c610285f6f81
tree7426d853a00dfaa90198d7792efe43b45f536fcf
parentceb831c2cc7599b45d63fc7a75643e0d767e960e
s4-dsdb: fixed the check_optional_feature() call

the dsdb_check_optional_feature() call should look on our own NTDS DN
for the enabled feature. This should work for all features, not just
for forest wide fetaures.

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