1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

r8049: add function that returns the build version (of w2k3 here 3790)

metze
(This used to be commit 81abbdaeb180a1618e34ab56275f6eeacfcc99ce)
This commit is contained in:
Stefan Metzmacher 2005-07-01 10:58:22 +00:00 committed by Gerald (Jerry) Carter
parent fe94ba6e71
commit 96a073fdea

View File

@ -71,6 +71,12 @@ uint32_t dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_cont
return lp_parm_int(-1, "server_info", "version_minor", 2); 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)
{
return lp_parm_int(-1, "server_info", "version_build", 3790);
}
/* This hardcoded value should go into a ldb database! */ /* 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) uint32_t dcesrv_common_get_server_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {