summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-12-09 22:57:42 +0000
committerJeremy Allison <jra@samba.org>1998-12-09 22:57:42 +0000
commit15efd5b348190addc686bb03726820e7e15446f8 (patch)
treebc3cfb75099a8a8267e9f4103b2a9c2ca6d5a4c7 /source/include
parent074419cdc4001ee3d1170facb7485538d7d6d28c (diff)
downloadsamba-15efd5b348190addc686bb03726820e7e15446f8.tar.gz
samba-15efd5b348190addc686bb03726820e7e15446f8.tar.xz
samba-15efd5b348190addc686bb03726820e7e15446f8.zip
lib/access.c: Added checks for invalid '*' or '?' characters in hosts allow/deny that could
silently deny access. Log them if they occur. smbd/close.c smbd/oplock.c smbd/reply.c: Removed a global oplock variable (hurrah!). Removal of the oplocks flags and any kernel oplocks is now done in either close() or in reply_locking() by calling release_file_oplock(). Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index 6b48032b561..419e0b6117c 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -2435,6 +2435,7 @@ BOOL setup_kernel_oplock_pipe(void);
BOOL open_oplock_ipc(void);
BOOL receive_local_message(fd_set *fds, char *buffer, int buffer_len, int timeout);
BOOL set_file_oplock(files_struct *fsp);
+void release_file_oplock(files_struct *fsp);
int setup_oplock_select_set( fd_set *fds);
BOOL process_local_message(char *buffer, int buf_size);
BOOL request_oplock_break(share_mode_entry *share_entry,