s4-ldb: added ldb_req_mark_untrusted() and ldb_req_is_untrusted()
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:17:53 +0000 (11:17 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:22:35 +0000 (11:22 +1100)
commitff456cd1007dc06a51c5e60394964bcf898b24d2
treeea256206ec2ca8cc6f788d1debeb529367b9e276
parent968381a4e2e7c8350b89104c17568259d35787a5
s4-ldb: added ldb_req_mark_untrusted() and ldb_req_is_untrusted()

these will be used to determine if a ldb request comes from an
untrusted source. We want requests over ldap:// to be marked untrusted
so we can reject unregistered controls

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/common/ldb.c
source4/lib/ldb/include/ldb_module.h
source4/lib/ldb/include/ldb_private.h