summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-03-16 16:35:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:37 -0500
commitf19637f957590881b54bfa92c4307cd8e3494cc7 (patch)
treeacba56437d1e9517ee4b5dd21896fd4297398f8d
parentfe0d6a155352d036dc51cace4b02ddb5231c99da (diff)
downloadsamba-f19637f957590881b54bfa92c4307cd8e3494cc7.tar.gz
samba-f19637f957590881b54bfa92c4307cd8e3494cc7.tar.xz
samba-f19637f957590881b54bfa92c4307cd8e3494cc7.zip
r21859: add a comment why we remove the rid_crypt obfuscation
metze (This used to be commit e44b6df1387096989726c0a68189fe6c4e37dfd7)
-rw-r--r--source4/dsdb/repl/replicated_objects.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 71bc4f61f4e..259035fed7b 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -103,6 +103,14 @@ static WERROR dsdb_decrypt_attribute_value(TALLOC_CTX *mem_ctx,
plain_buffer = data_blob_talloc(mem_ctx, checked_buffer.data, checked_buffer.length);
W_ERROR_HAVE_NO_MEMORY(plain_buffer.data);
+ /*
+ * The following rid_crypt obfuscation isn't session specific
+ * and not really needed here, because we allways know the rid of the
+ * user account.
+ *
+ * But for the rest of samba it's easier when we remove this static
+ * obfuscation here
+ */
if (rid_crypt) {
uint32_t i, num_hashes;