1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

r26006: Improve some dependencies.

(This used to be commit 28f05bb5ef)
This commit is contained in:
Jelmer Vernooij
2007-11-16 23:24:23 +01:00
committed by Stefan Metzmacher
parent 013a762ca2
commit dc2273ba37
8 changed files with 19 additions and 10 deletions

View File

@ -236,7 +236,7 @@ static NTSTATUS smb_pam_start(pam_handle_t **pamh, const char *account_name, con
pam_error = pam_start("samba", account_name, pconv, pamh); pam_error = pam_start("samba", account_name, pconv, pamh);
if (pam_error != PAM_SUCCESS) { if (pam_error != PAM_SUCCESS) {
/* no vaild pamh here, can we reliably call pam_strerror ? */ /* no valid pamh here, can we reliably call pam_strerror ? */
DEBUG(4,("smb_pam_start: pam_start failed!\n")); DEBUG(4,("smb_pam_start: pam_start failed!\n"));
return NT_STATUS_UNSUCCESSFUL; return NT_STATUS_UNSUCCESSFUL;
} }

View File

@ -49,15 +49,11 @@ OBJ_FILES = auth_developer.o
# End MODULE auth_developer # End MODULE auth_developer
####################### #######################
#######################
# Start MODULE auth_unix
[MODULE::auth_unix] [MODULE::auth_unix]
INIT_FUNCTION = auth_unix_init INIT_FUNCTION = auth_unix_init
SUBSYSTEM = auth SUBSYSTEM = auth
OBJ_FILES = auth_unix.o OBJ_FILES = auth_unix.o
PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER
# End MODULE auth_unix
#######################
[SUBSYSTEM::PAM_ERRORS] [SUBSYSTEM::PAM_ERRORS]
PRIVATE_PROTO_HEADER = pam_errors.h PRIVATE_PROTO_HEADER = pam_errors.h

View File

@ -8,7 +8,7 @@ include samdb/ldb_modules/config.mk
PUBLIC_PROTO_HEADER = samdb/samdb_proto.h PUBLIC_PROTO_HEADER = samdb/samdb_proto.h
PUBLIC_HEADERS = samdb/samdb.h PUBLIC_HEADERS = samdb/samdb.h
PUBLIC_DEPENDENCIES = LIBCLI_LDAP HEIMDAL_KRB5 PUBLIC_DEPENDENCIES = LIBCLI_LDAP HEIMDAL_KRB5
PRIVATE_DEPENDENCIES = LIBNDR NDR_MISC NDR_DRSUAPI NDR_DRSBLOBS PRIVATE_DEPENDENCIES = LIBNDR NDR_MISC NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER
OBJ_FILES = \ OBJ_FILES = \
samdb/samdb.o \ samdb/samdb.o \
samdb/samdb_privilege.o \ samdb/samdb_privilege.o \

View File

@ -27,7 +27,8 @@ PRIVATE_DEPENDENCIES = \
LIBSAMBA-UTIL \ LIBSAMBA-UTIL \
LIBPOPT \ LIBPOPT \
POPT_SAMBA \ POPT_SAMBA \
NDR_TABLE NDR_TABLE \
LIBSAMBA-ERRORS
MANPAGE = tools/ndrdump.1 MANPAGE = tools/ndrdump.1
# FIXME: ndrdump shouldn't have to depend on RPC... # FIXME: ndrdump shouldn't have to depend on RPC...
# End BINARY ndrdump # End BINARY ndrdump

View File

@ -47,4 +47,4 @@ PRIVATE_DEPENDENCIES = LIBLDB
[SUBSYSTEM::SECRETS] [SUBSYSTEM::SECRETS]
OBJ_FILES = secrets.o OBJ_FILES = secrets.o
PRIVATE_DEPENDENCIES = LDB_WRAP UTIL_TDB PRIVATE_DEPENDENCIES = LDB_WRAP TDB_WRAP UTIL_TDB

View File

@ -8,11 +8,13 @@ OBJ_FILES = \
[MODULE::smbcalls_config] [MODULE::smbcalls_config]
OBJ_FILES = smbcalls_config.o OBJ_FILES = smbcalls_config.o
OUTPUT_TYPE = INTEGRATED
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
INIT_FUNCTION = smb_setup_ejs_config INIT_FUNCTION = smb_setup_ejs_config
[MODULE::smbcalls_ldb] [MODULE::smbcalls_ldb]
OBJ_FILES = smbcalls_ldb.o OBJ_FILES = smbcalls_ldb.o
OUTPUT_TYPE = INTEGRATED
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
INIT_FUNCTION = smb_setup_ejs_ldb INIT_FUNCTION = smb_setup_ejs_ldb
PRIVATE_DEPENDENCIES = LIBLDB SAMDB LIBNDR PRIVATE_DEPENDENCIES = LIBLDB SAMDB LIBNDR
@ -20,38 +22,45 @@ PRIVATE_DEPENDENCIES = LIBLDB SAMDB LIBNDR
[MODULE::smbcalls_reg] [MODULE::smbcalls_reg]
OBJ_FILES = smbcalls_reg.o OBJ_FILES = smbcalls_reg.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_reg INIT_FUNCTION = smb_setup_ejs_reg
PRIVATE_DEPENDENCIES = registry SAMDB LIBNDR PRIVATE_DEPENDENCIES = registry SAMDB LIBNDR
[MODULE::smbcalls_nbt] [MODULE::smbcalls_nbt]
OBJ_FILES = smbcalls_nbt.o OBJ_FILES = smbcalls_nbt.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_nbt INIT_FUNCTION = smb_setup_ejs_nbt
[MODULE::smbcalls_samba3] [MODULE::smbcalls_samba3]
OBJ_FILES = smbcalls_samba3.o OBJ_FILES = smbcalls_samba3.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_samba3 INIT_FUNCTION = smb_setup_ejs_samba3
PRIVATE_DEPENDENCIES = LIBSAMBA3 PRIVATE_DEPENDENCIES = LIBSAMBA3
[MODULE::smbcalls_rand] [MODULE::smbcalls_rand]
OBJ_FILES = smbcalls_rand.o OBJ_FILES = smbcalls_rand.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_random INIT_FUNCTION = smb_setup_ejs_random
[MODULE::smbcalls_nss] [MODULE::smbcalls_nss]
OBJ_FILES = smbcalls_nss.o OBJ_FILES = smbcalls_nss.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_nss INIT_FUNCTION = smb_setup_ejs_nss
PRIVATE_DEPENDENCIES = NSS_WRAPPER PRIVATE_DEPENDENCIES = NSS_WRAPPER
[MODULE::smbcalls_data] [MODULE::smbcalls_data]
OBJ_FILES = smbcalls_data.o OBJ_FILES = smbcalls_data.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_datablob INIT_FUNCTION = smb_setup_ejs_datablob
[MODULE::smbcalls_auth] [MODULE::smbcalls_auth]
OBJ_FILES = smbcalls_auth.o OBJ_FILES = smbcalls_auth.o
OUTPUT_TYPE = INTEGRATED
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
INIT_FUNCTION = smb_setup_ejs_auth INIT_FUNCTION = smb_setup_ejs_auth
PRIVATE_DEPENDENCIES = auth PRIVATE_DEPENDENCIES = auth
@ -59,11 +68,13 @@ PRIVATE_DEPENDENCIES = auth
[MODULE::smbcalls_string] [MODULE::smbcalls_string]
OBJ_FILES = smbcalls_string.o OBJ_FILES = smbcalls_string.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_string INIT_FUNCTION = smb_setup_ejs_string
[MODULE::smbcalls_sys] [MODULE::smbcalls_sys]
OBJ_FILES = smbcalls_sys.o OBJ_FILES = smbcalls_sys.o
SUBSYSTEM = smbcalls SUBSYSTEM = smbcalls
OUTPUT_TYPE = INTEGRATED
INIT_FUNCTION = smb_setup_ejs_system INIT_FUNCTION = smb_setup_ejs_system
include ejsnet/config.mk include ejsnet/config.mk

View File

@ -19,7 +19,7 @@ OBJ_FILES = \
service_stream.o \ service_stream.o \
service_task.o service_task.o
PRIVATE_DEPENDENCIES = \ PRIVATE_DEPENDENCIES = \
MESSAGING MESSAGING samba-socket
# End SUBSYSTEM SERVER # End SUBSYSTEM SERVER
####################### #######################

View File

@ -32,7 +32,8 @@ PRIVATE_DEPENDENCIES = \
LIBSAMBA-CONFIG \ LIBSAMBA-CONFIG \
LIBSAMBA-UTIL \ LIBSAMBA-UTIL \
NDR_XATTR \ NDR_XATTR \
WRAP_XATTR WRAP_XATTR \
LIBSAMBA-ERRORS
# End BINARY getntacl # End BINARY getntacl
################################# #################################