diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-02-02 00:14:28 +0100 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2010-03-16 09:52:10 -0400 |
commit | 5b7179d2a3708246c44c5c5126368588f9da74a0 (patch) | |
tree | b7dce12b682a20c1131812e78504314a16fd0a65 /source3/modules | |
parent | 6437df7d2ceedeb26be82e050b300ad55839a721 (diff) | |
download | samba-5b7179d2a3708246c44c5c5126368588f9da74a0.tar.gz samba-5b7179d2a3708246c44c5c5126368588f9da74a0.tar.bz2 samba-5b7179d2a3708246c44c5c5126368588f9da74a0.zip |
Add smbta-util to manage the encryption key.
This program allows the administrator to enable or disable AES
encryption when using vfs_smb_traffic_analyzer. It also generates new
keys, stores them to a file, so that the file can be reused on another
client or server.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_smb_traffic_analyzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_smb_traffic_analyzer.c b/source3/modules/vfs_smb_traffic_analyzer.c index 9bc0d2ef73..4465425927 100644 --- a/source3/modules/vfs_smb_traffic_analyzer.c +++ b/source3/modules/vfs_smb_traffic_analyzer.c @@ -542,6 +542,7 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle, " found, encrypting data!\n")); AES_KEY key; samba_AES_set_encrypt_key(akey, 128, &key); + free(akey); s1 = strlen(str) / 16; s2 = strlen(str) % 16; DEBUG(10, ("smb_traffic_analyzer_send_data_socket: found %i" |