diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 99194210e80..6a8e9cb1b68 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -409,7 +409,7 @@ FN_GLOBAL_STRING(setprimarygroup_script, szSetPrimaryGroupScript) FN_GLOBAL_STRING(set_quota_command, szSetQuota) FN_GLOBAL_STRING(share_backend, szShareBackend) FN_GLOBAL_STRING(shutdown_script, szShutdownScript) -FN_GLOBAL_STRING(username_map_script, szUsernameMapScript) +FN_GLOBAL_STRING(username_map_script, usernameMapScript) FN_GLOBAL_STRING(username_map, usernameMap) FN_GLOBAL_STRING(usershare_path, szUsersharePath) FN_GLOBAL_STRING(wins_hook, szWINSHook) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index fae27be0219..6d805c54390 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -2692,7 +2692,7 @@ static struct parm_struct parm_table[] = { .label = "username map script", .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(szUsernameMapScript), + .offset = GLOBAL_VAR(usernameMapScript), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED,