diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index dbfbe6d2f76..75bc181e763 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -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) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index dba7701d7d1..7b91198c1d3 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -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, diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index e48e6d40da3..7a0a824ba21 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -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; }