diff options
author | Jeremy Allison <jra@samba.org> | 1998-06-03 01:04:45 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-06-03 01:04:45 +0000 |
commit | c435955b02c7fc227b9475ff73c62e080d34a1af (patch) | |
tree | 003f5151fe56470a87f0d97e56eaea2d3b4d1473 /source3/include | |
parent | 1714adc7985e0c71d0ec046f727c239dfa33b2af (diff) | |
download | samba-c435955b02c7fc227b9475ff73c62e080d34a1af.tar.gz samba-c435955b02c7fc227b9475ff73c62e080d34a1af.tar.bz2 samba-c435955b02c7fc227b9475ff73c62e080d34a1af.zip |
ipc.c: Fix bug where we don't return the correct error code when client
gives a too-small buffer for share info. Fix from Gil Kloepfer <gil@arlut.utexas.edu>
smb.h:
server.c: Fix for a nastly little security problem with multi-user Windows NT
servers and Samba where the contents of the open-file cache can end
up being served out to users who shouldn't have access. This is some
*seriously* ugly code.
Jeremy.
(This used to be commit 05c85df3c7da982085615e5a1db6c71e164db4f5)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 0382cf2c71..cdac9cb720 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -433,6 +433,8 @@ typedef struct typedef struct { uint16 ref_count; + uint16 uid_cache_count; + uid_t uid_users_cache[10]; uint32 dev; uint32 inode; int fd; |