dsdb/schema: make more clear where we create the value for the new prefix mapping
authorStefan Metzmacher <metze@samba.org>
Thu, 24 Jul 2008 07:55:53 +0000 (09:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 26 Jul 2008 19:45:22 +0000 (21:45 +0200)
metze

source/dsdb/schema/schema_init.c

index 2385f224e8eece24d7ee3ebf11297622b9f9573e..9b8959466d5d9c7e393c005c427d11ec6a9ea616 100644 (file)
@@ -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*/