Fix ldb_map to add/remove the same 'extra' objectclass
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jul 2008 01:18:21 +0000 (11:18 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jul 2008 01:18:21 +0000 (11:18 +1000)
commitca46ad25b8ee43d50383cefb804694fe27595d33
tree7c4cd88c1a7a13ce05c1bbae372468fac6e24a45
parent706140a1dcc5220739bde0f17afcb32ebc0c130a
Fix ldb_map to add/remove the same 'extra' objectclass

The code previously added data->add_objectClass, but only removed the
fixed objectclass of extensibleObject.

Found by the ldap.py test.

Andrew Bartlett
(This used to be commit 4fa15c3173a997fa0b9041161d81e742e1fdb41c)
source4/lib/ldb/ldb_map/ldb_map.c