1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/smbd
Andrew Bartlett fcbfc7ad06 Changes all over the shop, but all towards:
- NTLM2 support in the server
 - KEY_EXCH support in the server
 - variable length session keys.

In detail:

 - NTLM2 is an extension of NTLMv1, that is compatible with existing
domain controllers (unlike NTLMv2, which requires a DC upgrade).

 * This is known as 'NTLMv2 session security' *

(This is not yet implemented on the RPC pipes however, so there may
well still be issues for PDC setups, particuarly around password
changes.  We do not fully understand the sign/seal implications of
NTLM2 on RPC pipes.)

This requires modifications to our authentication subsystem, as we
must handle the 'challege' input into the challenge-response algorithm
being changed.  This also needs to be turned off for
'security=server', which does not support this.

- KEY_EXCH is another 'security' mechanism, whereby the session key
actually used by the server is sent by the client, rather than being
the shared-secret directly or indirectly.

- As both these methods change the session key, the auth subsystem
needed to be changed, to 'override' session keys provided by the
backend.

- There has also been a major overhaul of the NTLMSSP subsystem, to merge the 'client' and 'server' functions, so they both operate on a single structure.  This should help the SPNEGO implementation.

- The 'names blob' in NTLMSSP is always in unicode - never in ascii.
Don't make an ascii version ever.

- The other big change is to allow variable length session keys.  We
have always assumed that session keys are 16 bytes long - and padded
to this length if shorter.  However, Kerberos session keys are 8 bytes
long, when the krb5 login uses DES.

 * This fix allows SMB signging on machines not yet running MIT KRB5 1.3.1. *

- Add better DEBUG() messages to ntlm_auth, warning administrators of
misconfigurations that prevent access to the privileged pipe.  This
should help reduce some of the 'it just doesn't work' issues.

- Fix data_blob_talloc() to behave the same way data_blob() does when
passed a NULL data pointer.  (just allocate)


REMEMBER to make clean after this commit - I have changed plenty of data structures...
(This used to be commit f3bbc87b0d)
2003-11-22 13:19:38 +00:00
..
.cvsignore Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the 2003-04-23 14:19:03 +00:00
blocking.c Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems 2003-10-21 21:19:00 +00:00
change_trust_pw.c Fix for bug #273 - smbd crash on machine account change. 2003-09-10 18:34:57 +00:00
chgpasswd.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00
close.c More printf portability fixes. Got caught out by some gcc'isms last 2003-07-25 04:24:40 +00:00
conn.c Fix VFS layer: 2003-05-11 23:34:18 +00:00
connection.c Got us happy running under valgrind again :-). 2003-05-31 02:03:58 +00:00
dfree.c Add NT quota support. Patch from Stefan (metze) Metzemacher 2003-05-12 01:20:17 +00:00
dir.c Change get_nt_acl() to include security_info wanted. Only return this. 2003-05-29 23:49:31 +00:00
dosmode.c Enclose usage of st_blksize and st_blocks struct stat members in 2003-10-14 03:56:42 +00:00
error.c Correct fix for excel read-only bug. Add panic for logic error in developer mode. 2003-10-02 17:26:42 +00:00
fake_file.c Add NT quota support. Patch from Stefan (metze) Metzemacher 2003-05-12 01:20:17 +00:00
fileio.c Printf fixes for 64-bit size_t. 2003-11-02 17:10:12 +00:00
filename.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00
files.c Fix coredump from Samba4 torture suite. 2003-09-17 19:36:38 +00:00
ipc.c Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing 2003-10-21 23:14:41 +00:00
lanman.c Missing UNIX -> DOS codepage conversion. Fix from Alexander Bokovoy <a.bokovoy@sam-solutions.net>. 2003-10-27 20:09:15 +00:00
mangle_hash2.c Ensure we mangle names ending in '.' in hash2 mangling method. 2003-11-18 01:47:27 +00:00
mangle_hash.c Some small fixes to our charset conversion code: 2003-07-27 02:28:25 +00:00
mangle_map.c Merge from HEAD: 2003-03-17 22:56:13 +00:00
mangle.c Merge from HEAD: 2003-03-17 22:56:13 +00:00
message.c Attempt to fix the charcnv issues causing nmbd to crash. If we get a failed 2003-08-20 22:06:19 +00:00
negprot.c Signing so far... the client code fails on a SMBtrans2 secondary transaction 2003-07-18 00:53:34 +00:00
noquotas.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
notify_hash.c Fix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com. 2003-10-06 21:49:40 +00:00
notify_kernel.c Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called on 2003-05-15 17:37:52 +00:00
notify.c Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de> 2003-10-21 17:40:58 +00:00
ntquotas.c Rise debug level to 5 for not-found-nt-quota message (quota setting for user wasn't found) 2003-07-24 11:37:11 +00:00
nttrans.c Fix missing bracket in quota quote - my fault. 2003-11-04 14:59:27 +00:00
open.c Remove unneeded second open for filename ending in '.' now we know it's 2003-11-18 02:06:41 +00:00
oplock_irix.c updated the 3.0 branch from the head branch - ready for alpha18 2002-07-15 10:35:28 +00:00
oplock_linux.c Fix more 64-bit printf warnings. 2003-11-03 14:34:25 +00:00
oplock.c An oplock break reply from the client causes the sequence number to be 2003-08-07 05:36:08 +00:00
password.c Changes all over the shop, but all towards: 2003-11-22 13:19:38 +00:00
pipes.c updated the 3.0 branch from the head branch - ready for alpha18 2002-07-15 10:35:28 +00:00
posix_acls.c Fix more 64-bit printf warnings. 2003-11-03 14:34:25 +00:00
process.c Fix debug message warning. 2003-11-05 00:16:01 +00:00
quotas.c Group quotas patch from "Heinreichsberger, Helmut" <Helmut.Heinreichsberger@wincor-nixdorf.com> 2003-11-19 02:19:34 +00:00
reply.c Fixes to check for wraps which could cause coredumps. 2003-10-29 21:28:00 +00:00
sec_ctx.c fix for BUG #267 (problem with supplementary groups). 2003-08-09 23:12:35 +00:00
server.c Simple rename of get_socket_addr to get_peer_addr and get_socket_name to 2003-11-07 09:03:02 +00:00
service.c cleaning out patch list; patch from Steve L. to change the cwd before the postexec script 2003-10-03 15:11:24 +00:00
session.c * add in David Lee's utmp patch (defaults to on if available) 2003-06-06 22:33:43 +00:00
sesssetup.c Changes all over the shop, but all towards: 2003-11-22 13:19:38 +00:00
srvstr.c (merge from HEAD) 2003-03-22 13:47:42 +00:00
statcache.c Fix more 64-bit printf warnings. 2003-11-03 14:34:25 +00:00
trans2.c bug 696; check for an invalid fid before dereferencing the fsp pointer 2003-10-30 15:57:52 +00:00
uid.c Fix bug 327 (again and I think for the last time). Make sure that 2003-08-27 20:52:56 +00:00
utmp.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00
vfs-wrap.c Fix for rename across filesystems. Noticed by Rainer Link <link@foo.fh-furtwangen.de>. 2003-11-21 23:01:37 +00:00
vfs.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 2003-09-05 19:59:55 +00:00