1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

param: move dnsdomain from generate_param to EXTRA_GLOBALS

This is alongside realm_original which is of the same kind.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Michael Adam 2015-07-22 19:47:22 +02:00 committed by Jeremy Allison
parent ff4134329d
commit c03891c0d5
2 changed files with 1 additions and 1 deletions

View File

@ -243,6 +243,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
#define LOADPARM_EXTRA_GLOBALS \ #define LOADPARM_EXTRA_GLOBALS \
struct parmlist_entry *param_opt; \ struct parmlist_entry *param_opt; \
char *dnsdomain; \
char *realm_original; char *realm_original;
const char* server_role_str(uint32_t role); const char* server_role_str(uint32_t role);

View File

@ -241,7 +241,6 @@ def make_param_defs(path_in, path_out, scope):
file_out.write("struct loadparm_global \n") file_out.write("struct loadparm_global \n")
file_out.write("{\n") file_out.write("{\n")
file_out.write("\tTALLOC_CTX *ctx; /* Context for talloced members */\n") file_out.write("\tTALLOC_CTX *ctx; /* Context for talloced members */\n")
file_out.write("\tchar * dnsdomain;\n")
elif scope == "LOCAL": elif scope == "LOCAL":
file_out.write("/**\n") file_out.write("/**\n")
file_out.write(" * This structure describes a single service.\n") file_out.write(" * This structure describes a single service.\n")