summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-01 10:58:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:02 -0500
commit96a073fdeab2467e95ec332fd64293e882d16b5f (patch)
treec78a861737f65489c62f4ef4750b30c54f07194b /source4/rpc_server
parentfe94ba6e71eb8d3273d593763f6b6d03fa90113d (diff)
downloadsamba-96a073fdeab2467e95ec332fd64293e882d16b5f.tar.gz
samba-96a073fdeab2467e95ec332fd64293e882d16b5f.tar.bz2
samba-96a073fdeab2467e95ec332fd64293e882d16b5f.zip
r8049: add function that returns the build version (of w2k3 here 3790)
metze (This used to be commit 81abbdaeb180a1618e34ab56275f6eeacfcc99ce)
Diffstat (limited to 'source4/rpc_server')
-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();