mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
1203de99b1
After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data.
27 lines
670 B
Makefile
27 lines
670 B
Makefile
[SUBSYSTEM::ntlm_check]
|
|
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
|
|
|
|
ntlm_check_OBJ_FILES = $(addprefix $(libclicommonsrcdir)/auth/, ntlm_check.o)
|
|
|
|
[SUBSYSTEM::MSRPC_PARSE]
|
|
|
|
MSRPC_PARSE_OBJ_FILES = $(addprefix $(libclicommonsrcdir)/auth/, msrpc_parse.o)
|
|
|
|
[SUBSYSTEM::LIBCLI_AUTH]
|
|
PUBLIC_DEPENDENCIES = \
|
|
MSRPC_PARSE \
|
|
LIBSAMBA-HOSTCONFIG
|
|
|
|
LIBCLI_AUTH_OBJ_FILES = $(addprefix $(libclicommonsrcdir)/auth/, \
|
|
credentials.o \
|
|
session.o \
|
|
smbencrypt.o \
|
|
smbdes.o)
|
|
|
|
PUBLIC_HEADERS += ../libcli/auth/credentials.h
|
|
|
|
[SUBSYSTEM::COMMON_SCHANNELDB]
|
|
PRIVATE_DEPENDENCIES = TDB_WRAP
|
|
|
|
COMMON_SCHANNELDB_OBJ_FILES = $(addprefix $(libclicommonsrcdir)/auth/, schannel_state_tdb.o)
|