diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-19 16:05:32 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:15 +1000 |
commit | d2a661a531da3d6b9bad6890a2cec46ec96e8521 (patch) | |
tree | 05f2efb5f7cc6b6f3244ab75753ac3a6c1381943 /source3/selftest | |
parent | 15123d96ffcac2243f69be41143bf78d92228d7f (diff) | |
download | samba-d2a661a531da3d6b9bad6890a2cec46ec96e8521.tar.gz samba-d2a661a531da3d6b9bad6890a2cec46ec96e8521.tar.bz2 samba-d2a661a531da3d6b9bad6890a2cec46ec96e8521.zip |
s3-auth Remove pointless destructor in make_server_info
All the callers allocate ->info3 as a talloc child already.
As regardes the TALLOC_ZERO(), I added this originally out of parinoia
many years ago. We do not consistantly zero session keys in memory,
and for NTLMv2 and Kerberos they are random for each sesssion, so
breaking into smbd far enough to read an old session key isn't a
particularly interesting attack, compared with (say) reading the
keytab or the password database. (NTLM and LM session keys are fixed
derivitives of the passwords however).
Andrew Bartlett
Diffstat (limited to 'source3/selftest')
0 files changed, 0 insertions, 0 deletions