mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
r26357: Add separate subsystem for auth_sam_reply parsing.
(This used to be commit 2d61e7c96e249d7031b709e9f727626a78e435f1)
This commit is contained in:
parent
70116cdcac
commit
038c75c0cb
@ -15,10 +15,14 @@ PRIVATE_DEPENDENCIES = auth_session
|
||||
|
||||
[SUBSYSTEM::auth_sam]
|
||||
PRIVATE_PROTO_HEADER = auth_sam.h
|
||||
OBJ_FILES = sam.o auth_sam_reply.o ntlm_check.o
|
||||
PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB
|
||||
OBJ_FILES = sam.o ntlm_check.o
|
||||
PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB LIBSECURITY
|
||||
PRIVATE_DEPENDENCIES = LDAP_ENCODE
|
||||
|
||||
[SUBSYSTEM::auth_sam_reply]
|
||||
PRIVATE_PROTO_HEADER = auth_sam_reply.h
|
||||
OBJ_FILES = auth_sam_reply.o
|
||||
|
||||
#######################
|
||||
# Start MODULE auth_sam
|
||||
[MODULE::auth_sam_module]
|
||||
@ -81,6 +85,7 @@ OBJ_FILES = \
|
||||
auth_util.o \
|
||||
auth_simple.o
|
||||
PUBLIC_DEPENDENCIES = LIBSECURITY SAMDB CREDENTIALS
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
|
||||
# End SUBSYSTEM auth
|
||||
#######################
|
||||
|
||||
|
@ -10,6 +10,6 @@ OBJ_FILES = kerberos.o \
|
||||
gssapi_parse.o \
|
||||
krb5_init_context.o
|
||||
PUBLIC_DEPENDENCIES = HEIMDAL_KRB5 NDR_KRB5PAC samba-socket LIBCLI_RESOLVE
|
||||
PRIVATE_DEPENDENCIES = ASN1_UTIL auth_sam CREDENTIALS_KRB5
|
||||
PRIVATE_DEPENDENCIES = ASN1_UTIL auth_sam_reply CREDENTIALS_KRB5
|
||||
# End SUBSYSTEM KERBEROS
|
||||
#################################
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "auth/kerberos/kerberos.h"
|
||||
#include "librpc/gen_ndr/ndr_krb5pac.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
#include "auth/auth_sam.h"
|
||||
#include "auth/auth_sam_reply.h"
|
||||
|
||||
static krb5_error_code check_pac_checksum(TALLOC_CTX *mem_ctx,
|
||||
DATA_BLOB pac_data,
|
||||
|
@ -22,7 +22,7 @@ OBJ_FILES = \
|
||||
hdb-ldb.o \
|
||||
pac-glue.o
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBLDB auth_sam KERBEROS
|
||||
LIBLDB auth_sam auth_sam_reply KERBEROS
|
||||
# End SUBSYSTEM KDC
|
||||
#######################
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "librpc/gen_ndr/krb5pac.h"
|
||||
#include "auth/auth.h"
|
||||
#include "auth/auth_sam.h"
|
||||
#include "auth/auth_sam_reply.h"
|
||||
#include "param/param.h"
|
||||
|
||||
struct krb5_dh_moduli;
|
||||
|
@ -107,7 +107,7 @@ _PUBLIC_ char *config_path(TALLOC_CTX* mem_ctx, struct loadparm_context *lp_ctx,
|
||||
char *fname, *config_dir, *p;
|
||||
config_dir = talloc_strdup(mem_ctx, lp_configfile(lp_ctx));
|
||||
p = strrchr(config_dir, '/');
|
||||
if (!p) {
|
||||
if (p == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
p[0] = '\0';
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "rpc_server/common/common.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
#include "auth/auth.h"
|
||||
#include "auth/auth_sam.h"
|
||||
#include "auth/auth_sam_reply.h"
|
||||
#include "dsdb/samdb/samdb.h"
|
||||
#include "rpc_server/samr/proto.h"
|
||||
#include "util/util_ldb.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user