summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-19 00:18:23 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-19 00:18:23 +0000
commit434d26acfe3bea62217b5ceaafc8b7b9cbe6e914 (patch)
tree9a15510d39e219534ad1a56de0b0fadeaedf2a64 /source3/include
parentf45d5306eff6f003e8a1559211b55746d2d0aac2 (diff)
downloadsamba-434d26acfe3bea62217b5ceaafc8b7b9cbe6e914.tar.gz
samba-434d26acfe3bea62217b5ceaafc8b7b9cbe6e914.tar.bz2
samba-434d26acfe3bea62217b5ceaafc8b7b9cbe6e914.zip
loadparm.c: Added "force create mode" and "force directory mode" params.
proto.h: Added lp_force_create_mode() and lp_force_dir_mode(). server.c: Fixed application of mode bits to be regular across files and directories. smb.h: Removed unused CREATE_MODE macro. Jeremy (jallison@whistle.com) (This used to be commit 2c928212500e1de27550d9fccb0939fd2e450515)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/smb.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 92feccf384..3929348da6 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -246,7 +246,9 @@ BOOL lp_map_system(int );
BOOL lp_delete_readonly(int );
BOOL lp_fake_oplocks(int );
int lp_create_mode(int );
+int lp_force_create_mode(int );
int lp_dir_mode(int );
+int lp_force_dir_mode(int );
int lp_max_connections(int );
int lp_defaultcase(int );
int lp_minprintspace(int );
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9af653220a..2dc2624566 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -511,7 +511,6 @@ struct connect_record
#define MAP_HIDDEN(cnum) (OPEN_CNUM(cnum) && lp_map_hidden(SNUM(cnum)))
#define MAP_SYSTEM(cnum) (OPEN_CNUM(cnum) && lp_map_system(SNUM(cnum)))
#define MAP_ARCHIVE(cnum) (OPEN_CNUM(cnum) && lp_map_archive(SNUM(cnum)))
-#define CREATE_MODE(cnum) (lp_create_mode(SNUM(cnum)) | 0700)
#ifdef SMB_PASSWD
#define SMBENCRYPT() (lp_encrypted_passwords())
#else