summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dosmode.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:10 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:15 -0800
commit51f8a24d26e0e9358b8a87fdeecfebc80229de38 (patch)
tree38ee9321fd7b592b4af1d22e65e0ca7bd3dfc8c1 /source3/smbd/dosmode.c
parent63598ff628b874e3d4778939ac6f2b70292c9360 (diff)
downloadsamba-51f8a24d26e0e9358b8a87fdeecfebc80229de38.tar.gz
samba-51f8a24d26e0e9358b8a87fdeecfebc80229de38.tar.xz
samba-51f8a24d26e0e9358b8a87fdeecfebc80229de38.zip
param: rename lp function and variable from "inherit_perms" to "inherit_permissions"
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/dosmode.c')
-rw-r--r--source3/smbd/dosmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index 2a6b3fe9607..831f6d0b6de 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -116,7 +116,7 @@ mode_t unix_mode(connection_struct *conn, int dosmode,
result &= ~(S_IWUSR | S_IWGRP | S_IWOTH);
}
- if ((inherit_from_dir != NULL) && lp_inherit_perms(SNUM(conn))) {
+ if ((inherit_from_dir != NULL) && lp_inherit_permissions(SNUM(conn))) {
struct smb_filename *smb_fname_parent;
DEBUG(2, ("unix_mode(%s) inheriting from %s\n",