summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/config.mk4
-rw-r--r--source4/cldap_server/config.mk2
-rw-r--r--source4/kdc/config.mk2
-rw-r--r--source4/ldap_server/config.mk2
-rw-r--r--source4/nbt_server/config.mk2
-rw-r--r--source4/rpc_server/common/server_info.c14
-rw-r--r--source4/smbd/process_model.c4
-rw-r--r--source4/web_server/config.mk2
-rw-r--r--source4/winbind/config.mk3
-rw-r--r--source4/wrepl_server/config.mk2
10 files changed, 19 insertions, 18 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index b594a38f9d..a86e43c3c0 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -1,4 +1,4 @@
-# auth Server subsystem
+# auth server subsystem
include gensec/config.mk
include kerberos/config.mk
include ntlmssp/config.mk
@@ -79,6 +79,6 @@ OBJ_FILES = \
auth_sam_reply.o \
ntlm_check.o \
auth_simple.o
-REQUIRED_SUBSYSTEMS = LIB_SECURITY
+REQUIRED_SUBSYSTEMS = LIB_SECURITY process_model
# End SUBSYSTEM auth
#######################
diff --git a/source4/cldap_server/config.mk b/source4/cldap_server/config.mk
index e167ab75ff..2b037baec3 100644
--- a/source4/cldap_server/config.mk
+++ b/source4/cldap_server/config.mk
@@ -8,6 +8,6 @@ OBJ_FILES = \
cldap_server.o \
netlogon.o
REQUIRED_SUBSYSTEMS = \
- LIBCLI_CLDAP LIBNETIF
+ LIBCLI_CLDAP LIBNETIF process_model
# End SUBSYSTEM CLDAPD
#######################
diff --git a/source4/kdc/config.mk b/source4/kdc/config.mk
index b6e9bd9b6c..e8cb84d5ff 100644
--- a/source4/kdc/config.mk
+++ b/source4/kdc/config.mk
@@ -7,7 +7,7 @@ OBJ_FILES = \
kdc.o \
kpasswdd.o
REQUIRED_SUBSYSTEMS = \
- ldb KERBEROS_LIB HEIMDAL_KDC HEIMDAL_HDB
+ ldb KERBEROS_LIB HEIMDAL_KDC HEIMDAL_HDB SAMDB
# End SUBSYSTEM KDC
#######################
diff --git a/source4/ldap_server/config.mk b/source4/ldap_server/config.mk
index 3b7cf04d68..2ef0413b32 100644
--- a/source4/ldap_server/config.mk
+++ b/source4/ldap_server/config.mk
@@ -9,6 +9,6 @@ OBJ_FILES = \
ldap_backend.o \
ldap_bind.o
REQUIRED_SUBSYSTEMS = \
- LIBCLI_LDAP SAMDB
+ LIBCLI_LDAP SAMDB process_model
# End SUBSYSTEM SMB
#######################
diff --git a/source4/nbt_server/config.mk b/source4/nbt_server/config.mk
index a8e9146639..000ddce18c 100644
--- a/source4/nbt_server/config.mk
+++ b/source4/nbt_server/config.mk
@@ -66,6 +66,6 @@ OBJ_FILES = \
irpc.o
PRIVATE_PROTO_HEADER = nbt_server_proto.h
REQUIRED_SUBSYSTEMS = \
- LIBCLI_NBT NBTD_WINS NBTD_DGRAM
+ LIBCLI_NBT NBTD_WINS NBTD_DGRAM process_model
# End SUBSYSTEM NBTD
#######################
diff --git a/source4/rpc_server/common/server_info.c b/source4/rpc_server/common/server_info.c
index 9d0a884803..3277de8ac6 100644
--- a/source4/rpc_server/common/server_info.c
+++ b/source4/rpc_server/common/server_info.c
@@ -29,7 +29,7 @@
*/
/* This hardcoded value should go into a ldb database! */
-enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
+_PUBLIC_ enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{
enum srvsvc_PlatformId id;
@@ -38,7 +38,7 @@ enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct
return id;
}
-const char *dcesrv_common_get_server_name(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, const char *server_unc)
+_PUBLIC_ const char *dcesrv_common_get_server_name(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, const char *server_unc)
{
const char *p = server_unc;
@@ -61,31 +61,31 @@ const char *dcesrv_common_get_domain_name(TALLOC_CTX *mem_ctx, struct dcesrv_con
}
/* This hardcoded value should go into a ldb database! */
-uint32_t dcesrv_common_get_version_major(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
+_PUBLIC_ uint32_t dcesrv_common_get_version_major(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{
return lp_parm_int(-1, "server_info", "version_major", 5);
}
/* This hardcoded value should go into a ldb database! */
-uint32_t dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
+_PUBLIC_ uint32_t dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{
return lp_parm_int(-1, "server_info", "version_minor", 2);
}
/* This hardcoded value should go into a ldb database! */
-uint32_t dcesrv_common_get_version_build(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
+_PUBLIC_ uint32_t dcesrv_common_get_version_build(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{
return lp_parm_int(-1, "server_info", "version_build", 3790);
}
/* This hardcoded value should go into a ldb database! */
-uint32_t dcesrv_common_get_server_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
+_PUBLIC_ uint32_t dcesrv_common_get_server_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{
return lp_default_server_announce();
}
/* This hardcoded value should go into a ldb database! */
-const char *dcesrv_common_get_lan_root(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
+_PUBLIC_ const char *dcesrv_common_get_lan_root(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{
return talloc_strdup(mem_ctx, "");
}
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index 5a01ad4fab..bfe3a67e1a 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -26,7 +26,7 @@
/*
setup the events for the chosen process model
*/
-const struct model_ops *process_model_startup(struct event_context *ev, const char *model)
+_PUBLIC_ const struct model_ops *process_model_startup(struct event_context *ev, const char *model)
{
const struct model_ops *ops;
@@ -53,7 +53,7 @@ static int num_models;
The 'name' can be later used by other backends to find the operations
structure for this backend.
*/
-NTSTATUS register_process_model(const void *_ops)
+_PUBLIC_ NTSTATUS register_process_model(const void *_ops)
{
const struct model_ops *ops = _ops;
diff --git a/source4/web_server/config.mk b/source4/web_server/config.mk
index a0d5be7c37..5cd058a774 100644
--- a/source4/web_server/config.mk
+++ b/source4/web_server/config.mk
@@ -7,6 +7,6 @@ PRIVATE_PROTO_HEADER = proto.h
OBJ_FILES = \
web_server.o \
http.o
-REQUIRED_SUBSYSTEMS = ESP LIBTLS smbcalls
+REQUIRED_SUBSYSTEMS = ESP LIBTLS smbcalls process_model
# End SUBSYSTEM WEB
#######################
diff --git a/source4/winbind/config.mk b/source4/winbind/config.mk
index 342007377d..b28d8a8ec1 100644
--- a/source4/winbind/config.mk
+++ b/source4/winbind/config.mk
@@ -21,7 +21,8 @@ OBJ_FILES = \
wb_cmd_usersids.o \
wb_cmd_list_trustdom.o \
wb_pam_auth.o
-REQUIRED_SUBSYSTEMS = WB_HELPER RPC_NDR_LSA RPC_NDR_SAMR
+REQUIRED_SUBSYSTEMS = WB_HELPER RPC_NDR_LSA RPC_NDR_SAMR process_model \
+ PAM_ERRORS
# End SUBSYSTEM WINBIND
#######################
diff --git a/source4/wrepl_server/config.mk b/source4/wrepl_server/config.mk
index feb3e87827..830b489086 100644
--- a/source4/wrepl_server/config.mk
+++ b/source4/wrepl_server/config.mk
@@ -15,6 +15,6 @@ OBJ_FILES = \
wrepl_out_helpers.o
PRIVATE_PROTO_HEADER = wrepl_server_proto.h
REQUIRED_SUBSYSTEMS = \
- LIBCLI_WREPL WINSDB
+ LIBCLI_WREPL WINSDB process_model
# End SUBSYSTEM WREPL_SRV
#######################