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:
parent
ff4134329d
commit
c03891c0d5
@ -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);
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user