mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Avoid using version call for version string.
(This used to be commit 1897cef508
)
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
[SUBSYSTEM::DYNCONFIG]
|
[SUBSYSTEM::DYNCONFIG]
|
||||||
|
|
||||||
DYNCONFIG_OBJ_FILES = $(dynconfigsrcdir)/dynconfig.o \
|
DYNCONFIG_OBJ_FILES = $(dynconfigsrcdir)/dynconfig.o
|
||||||
$(dynconfigsrcdir)/version.o
|
|
||||||
|
|
||||||
# set these to where to find various files
|
# set these to where to find various files
|
||||||
# These can be overridden by command line switches (see smbd(8))
|
# These can be overridden by command line switches (see smbd(8))
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
/*
|
|
||||||
Unix SMB/CIFS implementation.
|
|
||||||
Samba Version functions
|
|
||||||
|
|
||||||
Copyright (C) Stefan Metzmacher 2003
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "includes.h"
|
|
||||||
#include "version.h"
|
|
||||||
|
|
||||||
const char *samba_version_string(void)
|
|
||||||
{
|
|
||||||
return SAMBA_VERSION_STRING;
|
|
||||||
}
|
|
@ -77,10 +77,9 @@ bool samdb_set_domain_sid(struct ldb_context *ldb,
|
|||||||
|
|
||||||
WERROR dsdb_attach_schema_from_ldif_file(struct ldb_context *ldb, const char *pf, const char *df);
|
WERROR dsdb_attach_schema_from_ldif_file(struct ldb_context *ldb, const char *pf, const char *df);
|
||||||
|
|
||||||
%feature("docstring") samba_version_string "version()\n"
|
%feature("docstring") version "version()\n"
|
||||||
"Obtain the Samba version.";
|
"Obtain the Samba version.";
|
||||||
%rename(version) samba_version_string;
|
const char *version(void) { return SAMBA_VERSION_STRING; }
|
||||||
const char *samba_version_string(void);
|
|
||||||
int dsdb_set_global_schema(struct ldb_context *ldb);
|
int dsdb_set_global_schema(struct ldb_context *ldb);
|
||||||
%feature("docstring") ldb_register_samba_handlers "register_samba_handlers()\n"
|
%feature("docstring") ldb_register_samba_handlers "register_samba_handlers()\n"
|
||||||
"Register Samba-specific LDB modules and schemas.";
|
"Register Samba-specific LDB modules and schemas.";
|
||||||
|
Reference in New Issue
Block a user