s4-dsdb: filter unregistered controls in the rootdse module
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:21:45 +0000 (11:21 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:22:35 +0000 (11:22 +1100)
commit80a4adc062a64e25a9ba0986e426c21599d1a366
tree706529f32b2e0780083aa77034f0cca7e7cb395c
parentd16fe72585445e7fd3724a7413ca7e03ee633fc9
s4-dsdb: filter unregistered controls in the rootdse module

if we get an unregistered control in the rootdse module, and the
request comes from an untrusted source (eg. ldap://) then we need to:

 1) filter the control out if it is marked non-critical

 2) give an error if it is marked critical

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