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

param: rename lp function and variable from "addmachine_script" to "add_machine_script"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Garming Sam 2014-02-04 15:09:00 +13:00 committed by Jeremy Allison
parent d53a9a529c
commit 8feac80395
5 changed files with 5 additions and 5 deletions

View File

@ -368,7 +368,7 @@ FN_GLOBAL_LIST(winbind_nss_info, winbind_nss_info)
FN_GLOBAL_LIST(wins_server_list, wins_server_list)
FN_GLOBAL_STRING(abort_shutdown_script, abort_shutdown_script)
FN_GLOBAL_STRING(add_group_script, add_group_script)
FN_GLOBAL_STRING(addmachine_script, addmachine_script)
FN_GLOBAL_STRING(add_machine_script, add_machine_script)
FN_GLOBAL_STRING(addport_cmd, addport_cmd)
FN_GLOBAL_STRING(addprinter_cmd, addprinter_cmd)
FN_GLOBAL_STRING(add_share_cmd, add_share_cmd)

View File

@ -2665,7 +2665,7 @@ static struct parm_struct parm_table[] = {
.label = "add machine script",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(addmachine_script),
.offset = GLOBAL_VAR(add_machine_script),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -674,7 +674,7 @@ static NTSTATUS smb_create_user(TALLOC_CTX *mem_ctx,
} else if ( (acct_flags & ACB_WSTRUST) ||
(acct_flags & ACB_SVRTRUST) ||
(acct_flags & ACB_DOMTRUST) ) {
add_script = lp_addmachine_script(mem_ctx);
add_script = lp_add_machine_script(mem_ctx);
} else {
DEBUG(1, ("Unknown user type: %s\n",
pdb_encode_acct_ctrl(acct_flags, NEW_PW_FORMAT_SPACE_PADDED_LEN)));

View File

@ -254,7 +254,7 @@ static NTSTATUS smb_create_user(TALLOC_CTX *mem_ctx,
} else if ( (acct_flags & ACB_WSTRUST) ||
(acct_flags & ACB_SVRTRUST) ||
(acct_flags & ACB_DOMTRUST) ) {
add_script = lp_addmachine_script(mem_ctx);
add_script = lp_add_machine_script(mem_ctx);
} else {
DEBUG(1, ("Unknown user type: %s\n",
pdb_encode_acct_ctrl(acct_flags, NEW_PW_FORMAT_SPACE_PADDED_LEN)));

View File

@ -461,7 +461,7 @@ static NTSTATUS pdb_default_create_user(struct pdb_methods *methods,
if ((acb_info & ACB_NORMAL) && name[strlen(name)-1] != '$') {
add_script = lp_adduser_script(tmp_ctx);
} else {
add_script = lp_addmachine_script(tmp_ctx);
add_script = lp_add_machine_script(tmp_ctx);
}
if (!add_script || add_script[0] == '\0') {