diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-08-19 13:26:41 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-10-26 05:11:21 +0100 |
commit | 4b25650577cd5c20729f3405c64c20ddf71b0ae3 (patch) | |
tree | cd8dfc1d539815b66268bd059be3896a02b828da /source3/libnet/libnet_dssync.c | |
parent | 6d301ad1c9ff0f1ccd4f97bd5f234b10707a15bf (diff) | |
download | samba-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/libnet/libnet_dssync.c')
-rw-r--r-- | source3/libnet/libnet_dssync.c | 1 |
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); } } |