s4-ldb: cope with NULL oid in controls
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:20:14 +0000 (11:20 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:22:35 +0000 (11:22 +1100)
commitd16fe72585445e7fd3724a7413ca7e03ee633fc9
tree54cc5dacefa7ce1ae1c1c416ed68616d195b88b7
parent5f6c004dec2140755ddfe5f801775e19a03a7ec8
s4-ldb: cope with NULL oid in controls

the ldap server will mark a control with a NULL oid in order to remove
it. This prevents a O(n^2) cost in control handling.

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