s4-dsdb: Make most specific objectCategory for an object
authorKamen Mazdrashki <kamenim@samba.org>
Tue, 28 Oct 2014 05:10:56 +0000 (06:10 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 Feb 2015 04:02:11 +0000 (05:02 +0100)
commit1154075220da592e160ab357f2669eb4e1266217
treed122c96b6a1d320af82623df7e5984154d1c2bbe
parent5921bb84ab54123d68691e63154f22ed124f6be4
s4-dsdb: Make most specific objectCategory for an object

This is lightweight implementation and should be used on objects
with already verified objectClass attribute value - eg. valid classes,
sorted properly, etc.
Checkout objectclass.c module for heavy weight implementation.

Change-Id: Ifa7880d26246f67e2f982496fcc6c77e6648d56f
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/util.c