samldb: Allow automatic generation of mAPIIDs
authorBob Campbell <bobcampbell@catalyst.net.nz>
Tue, 7 Feb 2017 22:40:32 +0000 (11:40 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 01:20:07 +0000 (02:20 +0100)
commitec11d65bef7aaea155fb40e87a74210166eca7dd
tree29eda5e7d41da529fe788c7910eaa356d8dc885d
parent1c16e8abd28fd05ab169b7a6bc11f102264def3e
samldb: Allow automatic generation of mAPIIDs

This allows us to conform to MS-ADTS 3.1.1.2.3.2, where the OID
1.2.840.113556.1.2.49 can be specified as the mAPIID of a new attribute
in the schema in order to automatically assign it an unused mAPIID.

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/samldb.c