mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
7c88ea8aad
This uses a virtual attribute 'clearTextPassword' (name chosen to match references in MS-SAMR) that contains the length-limited blob containing an allegidly UTF16 password. This ensures we do no validation or filtering of the password before we get a chance to MD4 it. We can then do the required munging into UTF8, and in future implement the rules Microsoft has provided us with for invalid inputs. All layers in the process now deal with the strings as length-limited inputs, incluing the krb5 string2key calls. This commit also includes a small change to samdb_result_passwords() to ensure that LM passwords are not returned to the application logic if LM authentication is disabled. The objectClass module has been modified to allow the clearTextPassword attribute to pass down the stack. Andrew Bartlett |
||
---|---|---|
.. | ||
credentials | ||
gensec | ||
kerberos | ||
ntlm | ||
ntlmssp | ||
tests | ||
auth_sam_reply.c | ||
auth_wrap.c | ||
auth.h | ||
auth.i | ||
auth.py | ||
config.m4 | ||
config.mk | ||
sam.c | ||
session.c | ||
session.h | ||
system_session.c |