1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/auth
Andrew Bartlett 7c88ea8aad Create a 'straight paper path' for UTF16 passwords.
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
2008-10-16 12:48:16 +11:00
..
credentials Use common util_file code. 2008-10-12 17:34:43 +02:00
gensec Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
kerberos Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
ntlm Create a 'straight paper path' for UTF16 passwords. 2008-10-16 12:48:16 +11:00
ntlmssp Move source4/lib/crypto to lib/crypto. 2008-09-24 15:30:23 +02:00
tests Move more modules inside of the samba package. 2008-05-21 23:59:34 +02:00
auth_sam_reply.c netlogon.idl: make use of bitmap samr_GroupAttrs 2008-01-24 10:24:41 +01:00
auth_wrap.c Generate with 1.3.36. 2008-09-18 23:55:50 +02:00
auth.h Heimdal provides Kerberos PAC parsing routines. Use them. 2008-08-28 16:28:47 +10:00
auth.i Add docstrings to a couple more python modules. 2008-05-24 04:01:57 +02:00
auth.py Generate with 1.3.36. 2008-09-18 23:55:50 +02:00
config.m4 r18164: enable the SASL library if found 2007-10-10 14:17:45 -05:00
config.mk Revert Jelmer's CFLAGS commit e2b71a0ecb 2008-05-31 08:35:55 +10:00
sam.c Use common strlist implementation in Samba 3 and Samba 4. 2008-10-12 00:56:56 +02:00
session.c Heimdal provides Kerberos PAC parsing routines. Use them. 2008-08-28 16:28:47 +10:00
session.h Fix build 2008-06-16 09:06:50 -04:00
system_session.c Add documentation to session token functions. 2008-04-24 13:30:36 +01:00