1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/libcli/config.m4
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

68 lines
1.6 KiB
Plaintext

dnl # LIBCLI subsystem
LIBCLI_RAW_LIBS=
if test x"$with_ads_support" = x"yes"; then
LIBCLI_RAW_LIBS="KRB5"
fi
SMB_SUBSYSTEM(LIBCLI_RAW,[],
[libcli/raw/rawfile.o
libcli/raw/smb_signing.o
libcli/raw/clisocket.o
libcli/raw/clitransport.o
libcli/raw/clisession.o
libcli/raw/clitree.o
libcli/raw/rawrequest.o
libcli/raw/rawreadwrite.o
libcli/raw/rawsearch.o
libcli/raw/rawsetfileinfo.o
libcli/raw/raweas.o
libcli/raw/rawtrans.o
libcli/raw/clioplock.o
libcli/raw/rawnegotiate.o
libcli/raw/rawfsinfo.o
libcli/raw/rawfileinfo.o
libcli/raw/rawnotify.o
libcli/raw/rawioctl.o
libcli/raw/rawacl.o
libcli/raw/rawdate.o],
[${LIBCLI_RAW_LIBS}])
SMB_SUBSYSTEM(LIBCLI_UTILS,[],
[libcli/util/asn1.o
libcli/util/smberr.o
libcli/util/doserr.o
libcli/util/errormap.o
libcli/util/clierror.o
libcli/util/cliutil.o
libcli/util/nterr.o
libcli/util/smbdes.o
libcli/util/smbencrypt.o
libcli/util/dom_sid.o])
SMB_SUBSYSTEM(LIBCLI_AUTH,[],
[libcli/auth/spnego.o
libcli/auth/spnego_parse.o
libcli/auth/ntlmssp.o
libcli/auth/ntlmssp_parse.o
libcli/auth/ntlmssp_sign.o
libcli/auth/schannel.o
libcli/auth/credentials.o
libcli/auth/session.o
libcli/auth/ntlm_check.o
libcli/auth/kerberos.o
libcli/auth/kerberos_verify.o
libcli/auth/clikrb5.o
libcli/auth/gensec.o
libcli/auth/gensec_ntlmssp.o],
[], [AUTH SCHANNELDB])
SMB_SUBSYSTEM(LIBCLI_NMB,[],
[libcli/unexpected.o
libcli/namecache.o
libcli/nmblib.o
libcli/namequery.o])
SMB_SUBSYSTEM(LIBCLI,[],[],[],
[LIBCLI_RAW LIBCLI_UTILS LIBCLI_AUTH LIBCLI_NMB])