From f19637f957590881b54bfa92c4307cd8e3494cc7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Mar 2007 16:35:44 +0000 Subject: r21859: add a comment why we remove the rid_crypt obfuscation metze (This used to be commit e44b6df1387096989726c0a68189fe6c4e37dfd7) --- source4/dsdb/repl/replicated_objects.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4') diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c index 71bc4f61f4..259035fed7 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; -- cgit