svn commit: samba r8049 - in
branches/SAMBA_4_0/source/rpc_server/common: .
metze at samba.org
metze at samba.org
Fri Jul 1 10:58:22 GMT 2005
Author: metze
Date: 2005-07-01 10:58:22 +0000 (Fri, 01 Jul 2005)
New Revision: 8049
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8049
Log:
add function that returns the build version (of w2k3 here 3790)
metze
Modified:
branches/SAMBA_4_0/source/rpc_server/common/server_info.c
Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/common/server_info.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/common/server_info.c 2005-07-01 10:28:31 UTC (rev 8048)
+++ branches/SAMBA_4_0/source/rpc_server/common/server_info.c 2005-07-01 10:58:22 UTC (rev 8049)
@@ -72,6 +72,12 @@
}
/* 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();
More information about the samba-cvs
mailing list