1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source4/libcli
Andrew Bartlett dc9f55dbec r1294: A nice, large, commit...
This implements gensec for Samba's server side, and brings gensec up
to the standards of a full subsystem.

This means that use of the subsystem is by gensec_* functions, not
function pointers in structures (this is internal).  This causes
changes in all the existing gensec users.

Our RPC server no longer contains it's own generalised security
scheme, and now calls gensec directly.

Gensec has also taken over the role of auth/auth_ntlmssp.c

An important part of gensec, is the output of the 'session_info'
struct.  This is now reference counted, so that we can correctly free
it when a pipe is closed, no matter if it was inherited, or created by
per-pipe authentication.

The schannel code is reworked, to be in the same file for client and
server.

ntlm_auth is reworked to use gensec.

The major problem with this code is the way it relies on subsystem
auto-initialisation.  The primary reason for this commit now.is to
allow these problems to be looked at, and fixed.

There are problems with the new code:
- I've tested it with smbtorture, but currently don't have VMware and
  valgrind working (this I'll fix soon).
- The SPNEGO code is client-only at this point.
- We still do not do kerberos.

Andrew Bartlett
(This used to be commit 07fd885fd4)
2007-10-10 12:56:49 -05:00
..
auth r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
raw r1268: varient -> variant 2007-10-10 12:56:46 -05:00
util r1274: revert -r 1239 as discussed with abartlet 2007-10-10 12:56:48 -05:00
cliconnect.c Convert libcli routines to return NTSTATUS instead of BOOL. Again, the 2004-02-10 11:33:35 +00:00
clideltree.c Convert libcli routines to return NTSTATUS instead of BOOL. Again, the 2004-02-10 11:33:35 +00:00
clidfs.c r889: convert samba4 to use [u]int16_t instead of [u]int16 2007-10-10 12:56:16 -05:00
clifile.c r962: convert 'unsigned' and 'unsigned int' to uint_t 2007-10-10 12:56:23 -05:00
clilist.c r889: convert samba4 to use [u]int16_t instead of [u]int16 2007-10-10 12:56:16 -05:00
climessage.c Convert libcli routines to use cli_tree instead of cli_state. Port 2004-02-08 00:51:07 +00:00
clireadwrite.c r889: convert samba4 to use [u]int16_t instead of [u]int16 2007-10-10 12:56:16 -05:00
clisecdesc.c Convert libcli routines to use cli_tree instead of cli_state. Port 2004-02-08 00:51:07 +00:00
clitrans2.c r889: convert samba4 to use [u]int16_t instead of [u]int16 2007-10-10 12:56:16 -05:00
config.m4 r1294: A nice, large, commit... 2007-10-10 12:56:49 -05:00
libsmb.m4 r665: merge over the new build system from my tmp branch 2007-10-10 12:53:36 -05:00
namecache.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
namequery_dc.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
namequery.c r962: convert 'unsigned' and 'unsigned int' to uint_t 2007-10-10 12:56:23 -05:00
nmblib.c r961: convert 'uchar' to 'uint8_t' 2007-10-10 12:56:23 -05:00
unexpected.c r1131: remove an error msg for failing to open unexpected.tdb 2007-10-10 12:56:39 -05:00