diff options
author | Jeremy Allison <jra@samba.org> | 2006-08-20 03:53:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:43 -0500 |
commit | 4031af7606fc1c57aec4e48f9f24466e6164bc66 (patch) | |
tree | 6a755c780ff3aa327e37b20b07025e119bd98473 /source3/nsswitch/winbind_nss_freebsd.c | |
parent | b2d5dd7281805a25a86124d76dbc091fe12efff5 (diff) | |
download | samba-4031af7606fc1c57aec4e48f9f24466e6164bc66.tar.gz samba-4031af7606fc1c57aec4e48f9f24466e6164bc66.tar.bz2 samba-4031af7606fc1c57aec4e48f9f24466e6164bc66.zip |
r17617: Take Andrew Bartletts excellent advice and don't store
the nt hash directly in the winbindd cache, store a
salted version (MD5 of salt + nt_hash). This is what
we do in the LDAP password history code. We store
this salted cache entry under the same name as an old
entry (CRED/<sid>) but detect it on read by checking
if there are 17 bytes of data after the first stored
hash (1 byte len, 16 bytes hash). GD PLEASE CHECK.
Jeremy.
(This used to be commit 89d0163a97edaa46049406ea3e2152bee4e0d1b2)
Diffstat (limited to 'source3/nsswitch/winbind_nss_freebsd.c')
0 files changed, 0 insertions, 0 deletions