summaryrefslogtreecommitdiff
path: root/source4/rpc_server/common/server_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/common/server_info.c')
-rw-r--r--source4/rpc_server/common/server_info.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/rpc_server/common/server_info.c b/source4/rpc_server/common/server_info.c
index 1a628a2ee6..a5f8ce15fc 100644
--- a/source4/rpc_server/common/server_info.c
+++ b/source4/rpc_server/common/server_info.c
@@ -72,6 +72,12 @@ uint32_t dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_cont
}
/* 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)
+{
+ 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)
{
return lp_default_server_announce();