summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-27 06:28:06 +0000
committerJeremy Allison <jra@samba.org>2001-11-27 06:28:06 +0000
commit064b3e7da7adfae06eae459e54ae0853924a4e4b (patch)
treea0328dcc8f915bf4b612043f5389f899486239d2 /source3/smbd
parent3dddd416e8897a2b8fa9afeee1f22bb57aeeede8 (diff)
downloadsamba-064b3e7da7adfae06eae459e54ae0853924a4e4b.tar.gz
samba-064b3e7da7adfae06eae459e54ae0853924a4e4b.tar.bz2
samba-064b3e7da7adfae06eae459e54ae0853924a4e4b.zip
nsswitch/winbindd_group.c nsswitch/winbindd_user.c: formatting fixups.
smbd/open.c: Fix "delete on close" for directories. Jeremy. (This used to be commit 014b0973a3b3b9eb22cce3053171fa55f5c16a63)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 1eae228f40..7c4e69946f 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1129,7 +1129,7 @@ files_struct *open_directory(connection_struct *conn, char *fname,
fsp->can_lock = True;
fsp->can_read = False;
fsp->can_write = False;
- fsp->share_mode = 0;
+ fsp->share_mode = share_mode;
fsp->print_file = False;
fsp->modified = False;
fsp->oplock_type = NO_OPLOCK;