mirror of
https://github.com/samba-team/samba.git
synced 2025-11-06 08:23:50 +03:00
r14567: Make some more functions public.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1ba4245fcb
commit
8e84e6cb6b
@@ -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
|
||||
#######################
|
||||
|
||||
@@ -8,6 +8,6 @@ OBJ_FILES = \
|
||||
cldap_server.o \
|
||||
netlogon.o
|
||||
REQUIRED_SUBSYSTEMS = \
|
||||
LIBCLI_CLDAP LIBNETIF
|
||||
LIBCLI_CLDAP LIBNETIF process_model
|
||||
# End SUBSYSTEM CLDAPD
|
||||
#######################
|
||||
|
||||
@@ -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
|
||||
#######################
|
||||
|
||||
|
||||
@@ -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
|
||||
#######################
|
||||
|
||||
@@ -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
|
||||
#######################
|
||||
|
||||
@@ -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, "");
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
#######################
|
||||
|
||||
@@ -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
|
||||
#######################
|
||||
|
||||
|
||||
@@ -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
|
||||
#######################
|
||||
|
||||
Reference in New Issue
Block a user