diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2009-11-03 07:49:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-11-06 14:05:44 +0100 |
commit | fc05386c0d9bf2cf39223e05d3a633a8559c5973 (patch) | |
tree | db9ca3ce635e10ee497940734a5be40152d187f6 /source4/dsdb/schema/schema_init.c | |
parent | ba4d87f81790d5773c033a79ea0b9cd37debd19d (diff) | |
download | samba-fc05386c0d9bf2cf39223e05d3a633a8559c5973.tar.gz samba-fc05386c0d9bf2cf39223e05d3a633a8559c5973.tar.bz2 samba-fc05386c0d9bf2cf39223e05d3a633a8559c5973.zip |
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>
Diffstat (limited to 'source4/dsdb/schema/schema_init.c')
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index ba14d378c1..5ce537a4e7 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -52,7 +52,7 @@ WERROR dsdb_load_prefixmap_from_drsuapi(struct dsdb_schema *schema, const char *schema_info; struct dsdb_schema_prefixmap *pfm; - werr = dsdb_schema_pfm_from_drsuapi_pfm(ctr, schema, &pfm, &schema_info); + werr = dsdb_schema_pfm_from_drsuapi_pfm(ctr, true, schema, &pfm, &schema_info); W_ERROR_NOT_OK_RETURN(werr); /* set loaded prefixMap */ |