git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ea9d4
)
dsdb/schema: make more clear where we create the value for the new prefix mapping
author
Stefan Metzmacher
<metze@samba.org>
Thu, 24 Jul 2008 07:55:53 +0000
(09:55 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 26 Jul 2008 19:45:22 +0000
(21:45 +0200)
metze
source/dsdb/schema/schema_init.c
patch
|
blob
|
history
diff --git
a/source/dsdb/schema/schema_init.c
b/source/dsdb/schema/schema_init.c
index 2385f224e8eece24d7ee3ebf11297622b9f9573e..9b8959466d5d9c7e393c005c427d11ec6a9ea616 100644
(file)
--- a/
source/dsdb/schema/schema_init.c
+++ b/
source/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*/