diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-07-24 09:55:53 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-07-26 21:45:22 +0200 |
commit | 2385e33095bbf01076b1e591f95e20eba7a7df37 (patch) | |
tree | 23fd1a75f5a5c013b7c85cc838f3456238f952b1 /source4/dsdb/schema | |
parent | 118ecc54ba19330b30d207e51611ff5f85b2cdca (diff) | |
download | samba-2385e33095bbf01076b1e591f95e20eba7a7df37.tar.gz samba-2385e33095bbf01076b1e591f95e20eba7a7df37.tar.bz2 samba-2385e33095bbf01076b1e591f95e20eba7a7df37.zip |
dsdb/schema: make more clear where we create the value for the new prefix mapping
metze
(This used to be commit c92eb8b776c17f12622837daeb1786862f380269)
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 2385f224e8..9b8959466d 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -361,6 +361,12 @@ WERROR dsdb_prefix_map_update(TALLOC_CTX *mem_ctx, uint32_t *num_prefixes, struc new_num_prefixes = *num_prefixes + 1; index_new_prefix = *num_prefixes; + + /* + * this is the algorithm we use to create new mappings for now + * + * TODO: find what algorithm windows use + */ new_entry_id = (*num_prefixes)<<16; /* Extract the prefix from the oid*/ |