1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

param: rename lp function and variable from "deluser_script" to "delete_user_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:01 +13:00 committed by Jeremy Allison
parent 9e42b5d3d8
commit 5abd5e0a30
3 changed files with 3 additions and 3 deletions

View File

@ -383,7 +383,7 @@ FN_GLOBAL_STRING(deleteprinter_cmd, deleteprinter_cmd)
FN_GLOBAL_STRING(delete_share_cmd, delete_share_cmd)
FN_GLOBAL_STRING(delete_group_script, delete_group_script)
FN_GLOBAL_STRING(delete_user_from_group_script, delete_user_from_group_script)
FN_GLOBAL_STRING(deluser_script, deluser_script)
FN_GLOBAL_STRING(delete_user_script, delete_user_script)
FN_GLOBAL_STRING(enumports_cmd, enumports_cmd)
FN_GLOBAL_STRING(get_quota_command, get_quota_command)
FN_GLOBAL_STRING(iprint_server, iprint_server)

View File

@ -2611,7 +2611,7 @@ static struct parm_struct parm_table[] = {
.label = "delete user script",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(deluser_script),
.offset = GLOBAL_VAR(delete_user_script),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -557,7 +557,7 @@ static int smb_delete_user(const char *unix_user)
return -1;
}
del_script = lp_deluser_script(talloc_tos());
del_script = lp_delete_user_script(talloc_tos());
if (!del_script || !*del_script) {
return -1;
}