diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index bf5b0d36da2..444591194f6 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -248,7 +248,7 @@ FN_GLOBAL_CONST_STRING(lockdir, lockdir) FN_GLOBAL_CONST_STRING(logon_drive, logon_drive) FN_GLOBAL_CONST_STRING(logon_home, logon_home) FN_GLOBAL_CONST_STRING(logon_path, logon_path) -FN_GLOBAL_CONST_STRING(logon_script, szLogonScript) +FN_GLOBAL_CONST_STRING(logon_script, logon_script) FN_GLOBAL_CONST_STRING(nbt_client_socket_address, nbt_client_socket_address) FN_GLOBAL_CONST_STRING(ncalrpc_dir, ncalrpc_dir) FN_GLOBAL_CONST_STRING(netbios_name, szNetbiosName) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 2bb66004080..356fefe9894 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -2710,7 +2710,7 @@ static struct parm_struct parm_table[] = { .label = "logon script", .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(szLogonScript), + .offset = GLOBAL_VAR(logon_script), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED,