diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:04 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:13 -0800 |
commit | fc148e61f143ceeae63c0ad1a52d68548ad07aab (patch) | |
tree | f618ced583458aea7de3b32ee1b79067b05ecc21 /source3/smbd | |
parent | 8ec3e110047034c0eb495c3d3bde1f1ef6ee7b18 (diff) | |
download | samba-fc148e61f143ceeae63c0ad1a52d68548ad07aab.tar.gz |
param: rename lp function and variable from "rootpostexec" to "root_postexec"
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |