s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap
commitfc05386c0d9bf2cf39223e05d3a633a8559c5973
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Tue, 3 Nov 2009 06:49:36 +0000 (3 07:49 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 6 Nov 2009 13:05:44 +0000 (6 14:05 +0100)
treedb9ca3ce635e10ee497940734a5be40152d187f6
parentba4d87f81790d5773c033a79ea0b9cd37debd19d
s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap

"partial drsuapi_prefixMap" is a prefix map without last entry
being special - i.e. map that does not contains schema_info entry.

Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to
cover both 'full' and 'partial' map conversion.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/schema/schema_init.c
source4/dsdb/schema/schema_prefixmap.c
source4/torture/drs/unit/prefixmap_tests.c