diff options
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/smbd/service.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index dd28567ec67..81b619ff4eb 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -50,7 +50,7 @@ FN_LOCAL_INTEGER(force_directory_mode, force_directory_mode) FN_LOCAL_STRING(preexec, preexec) FN_LOCAL_STRING(postexec, postexec) FN_LOCAL_STRING(rootpreexec, rootpreexec) -FN_LOCAL_STRING(rootpostexec, rootpostexec) +FN_LOCAL_STRING(root_postexec, root_postexec) FN_LOCAL_STRING(dont_descend, dont_descend) FN_LOCAL_STRING(username, username) FN_LOCAL_LIST(invalid_users, invalid_users) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 570b91606cf..2c8fbf2e4dd 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3616,7 +3616,7 @@ static struct parm_struct parm_table[] = { .label = "root postexec", .type = P_STRING, .p_class = P_LOCAL, - .offset = LOCAL_VAR(rootpostexec), + .offset = LOCAL_VAR(root_postexec), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 17ea74b8a8e..e08e2c3ba26 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -156,7 +156,7 @@ static struct loadparm_service sDefault = .preexec = NULL, .postexec = NULL, .rootpreexec = NULL, - .rootpostexec = NULL, + .root_postexec = NULL, .cups_options = NULL, .printcommand = NULL, .lpqcommand = NULL, diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 12f7b136288..13241687078 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -1145,7 +1145,7 @@ void close_cnum(connection_struct *conn, uint64_t vuid) change_to_root_user(); /* execute any "root postexec = " line */ - if (*lp_rootpostexec(talloc_tos(), SNUM(conn))) { + if (*lp_root_postexec(talloc_tos(), SNUM(conn))) { char *cmd = talloc_sub_advanced(talloc_tos(), lp_servicename(talloc_tos(), SNUM(conn)), conn->session_info->unix_info->unix_name, @@ -1153,7 +1153,7 @@ void close_cnum(connection_struct *conn, uint64_t vuid) conn->session_info->unix_token->gid, conn->session_info->unix_info->sanitized_username, conn->session_info->info->domain_name, - lp_rootpostexec(talloc_tos(), SNUM(conn))); + lp_root_postexec(talloc_tos(), SNUM(conn))); smbrun(cmd,NULL); TALLOC_FREE(cmd); } |