summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2015-08-19 13:26:41 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-10-26 05:11:21 +0100
commit4b25650577cd5c20729f3405c64c20ddf71b0ae3 (patch)
treecd8dfc1d539815b66268bd059be3896a02b828da /source3
parent6d301ad1c9ff0f1ccd4f97bd5f234b10707a15bf (diff)
downloadsamba-4b25650577cd5c20729f3405c64c20ddf71b0ae3.tar.gz
repl: Give an error if we get a secret when not expecting one
We should never get a secret from a server when we specify DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING This asserts that this is the case. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_dssync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c
index 94f06285a89..267709e3c11 100644
--- a/source3/libnet/libnet_dssync.c
+++ b/source3/libnet/libnet_dssync.c
@@ -113,6 +113,7 @@ static void libnet_dssync_decrypt_attributes(TALLOC_CTX *mem_ctx,
drsuapi_decrypt_attribute(mem_ctx,
session_key,
rid,
+ 0,
attr);
}
}