An error occurred fetching the project authors.
- 16 May, 2008 2 commits
-
-
Steve French authored
Also has minor cleanup of previous patch CC: Igor Mammedov <niallain@gmail.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Igor Mammedov authored
Signed-off-by:
Igor Mammedov <niallain@gmail.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 15 May, 2008 1 commit
-
-
Steve French authored
Fixup GetDFSRefer to prepare for cleanup of SMB response processing Fix build warning in link.c Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 14 May, 2008 1 commit
-
-
Jeff Layton authored
SMBLegacyOpen always opens a file as r/w. This could be problematic for files with ATTR_READONLY set. Have it interpret the access_mode into a sane open mode. Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 13 May, 2008 3 commits
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Marcin Slusarz authored
all other codepaths in this function return negative values on errors Signed-off-by:
Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Jeff Layton authored
When CIFSFindNext gets back an -EBADF from a call, it sets the return code of the function to 0 and eventually exits. Doing this makes the cleanup at the end of the function skip freeing the SMB buffer, so we need to make sure we free the buffer explicitly when doing this. If we don't you end up with errors like this when unplugging the cifs kernel module: slab error in kmem_cache_destroy(): cache `cifs_request': Can't free all objects [<c046bdbf>] kmem_cache_destroy+0x61/0xf3 [<e0f03045>] cifs_destroy_request_bufs+0x14/0x28 [cifs] [<e0f2016e>] exit_cifs+0x1e/0x80 [cifs] [<c043aeae>] sys_delete_module+0x192/0x1b8 [<c04451fd>] audit_syscall_entry+0x14b/0x17d [<c0405413>] syscall_call+0x7/0xb ======================= Signed-off-by:
Jeff Layton <jlayton@redhat.com>
-
- 11 May, 2008 1 commit
-
-
Jeff Layton authored
When creating a directory on a CIFS share without POSIX extensions, and the given mode has no write bits set, set the ATTR_READONLY bit. When creating a file, set ATTR_READONLY if the create mode has no write bits set and we're not using unix extensions. There are some comments about this being problematic due to the VFS splitting creates into 2 parts. I'm not sure what that's actually talking about, but I'm assuming that it has something to do with how mknod is implemented. In the simple case where we have no unix extensions and we're just creating a regular file, there's no reason we can't set ATTR_READONLY. Signed-off-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 29 Apr, 2008 1 commit
-
-
Steve French authored
Signed-off-by:
Joe Perches <joe@perches.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 09 Apr, 2008 1 commit
-
-
Steve French authored
Signed-off-by:
Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 12 Feb, 2008 1 commit
-
-
Steve French authored
Christoph had noticed too many ifdefs in the CIFS code making it hard to read. This patch removes about a quarter of them from the C files in cifs by improving a few key ifdefs in the .h files. Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 07 Feb, 2008 1 commit
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 31 Dec, 2007 1 commit
-
-
Steve French authored
Requires cifsacl mount flag to be on and CIFS_EXPERIMENTAL enabled CC: Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 30 Dec, 2007 1 commit
-
-
Steve French authored
Thanks to Oleg Gvozdev for noticing the problem. CC: Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 13 Nov, 2007 1 commit
-
-
Steve French authored
request In SendReceive() function in transport.c - it memcpy's message payload into a buffer passed via out_buf param. The function assumes that all buffers are of size (CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) , unfortunately it is also called with smaller (MAX_CIFS_SMALL_BUFFER_SIZE) buffers. There are eight callers (SMB worker functions) which are primarily affected by this change: TreeDisconnect, uLogoff, Close, findClose, SetFileSize, SetFileTimes, Lock and PosixLock CC: Dave Kleikamp <shaggy@austin.ibm.com> CC: Przemyslaw Wegrzyn <czajnik@czajsoft.pl> Acked-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 03 Nov, 2007 1 commit
-
-
Jeff Layton authored
Also, fix the parser to recognize them and set the secType accordingly. Make CIFSSMBNegotiate not error out automatically after parsing the securityBlob. Also thanks to Q (Igor) and Simo for their help on this set of kerberos patches (and Dave Howells for help on the upcall). Signed-off-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 26 Oct, 2007 1 commit
-
-
Steve French authored
Now GetACL in getinodeinfo path when cifsacl mount option used, and ACL is parsed for SIDs. Missing only one piece now to be able to retrieve the mode Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 25 Oct, 2007 1 commit
-
-
Steve French authored
Acked-by:
Shirish Pargaonkar <shirishp@us.ibm.com> CC: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 23 Oct, 2007 1 commit
-
-
Parag Warudkar authored
get rid of couple of unused function warnings which show up when CONFIG_CIFS_EXPERIMENTAL is not defined - wrap them in #ifdef CONFIG_CIFS_EXPERIMENTAL. Patch against current git. Signed-off-by:
Parag Warudkar <kernel-stuff@comcast.net> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 18 Oct, 2007 2 commits
-
-
Steve French authored
Also returns more accurate errors to mount for the cases of account expired and password expired Acked-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 16 Oct, 2007 3 commits
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Jeff Layton authored
SPNEGO NegProt response also contains a server_GUID. Parse it as we would for RawNTLMSSP. Signed-off-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Jeff Layton authored
[CIFS] fix error message about packet signing When packet signing is disabled and the server requires it, cifs prints an error message. The current message refers to a file in /proc that no longer exists. Fix it to refer to the correct file. Signed-off-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 14 Oct, 2007 1 commit
-
-
Cyril Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 12 Oct, 2007 1 commit
-
-
Steve French authored
Signed-off-by:
Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 04 Oct, 2007 1 commit
-
-
Steve French authored
Fixes two problems: 1) we dropped down to negotiating lanman if we did not recognize the mechanism (krb5 e.g.) 2) we did not stop cifsd (thus will fail when doing rmod cifs with slab free errors) when we fail tcon but have a bad session (which is the case in which signing is required but we don't allow signing on the client) It also turns on extended security flag in the header when passing "sec=krb5" on mount command (although kerberos support is not done of course) Acked-by:
Jeff Layton <jlayton@redhat.com> CC: Shaggy <shaggy@us.ibm.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 03 Oct, 2007 1 commit
-
-
Shirish Pargaonkar authored
Signed-off-by:
Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 28 Sep, 2007 1 commit
-
-
Steve French authored
We were allocating request buffers twice in the statfs path when mounted to very old (Windows 9x) servers. Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 25 Sep, 2007 1 commit
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 24 Sep, 2007 1 commit
-
-
Steve French authored
Add code to be able to dump CIFS ACL information when Query Posix ACL with cifsacl mount parm enabled. Signed-off-by:
Shirish Pargoankar <shirishp@us.ibm.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 20 Sep, 2007 1 commit
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 30 Aug, 2007 2 commits
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
Andre Haupt authored
Signed-off-by:
Andrew Haupt <andre@finow14.de> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 18 Jul, 2007 1 commit
-
-
Steve French authored
Previously the only way to do this was to umount all mounts to that server, turn off a proc setting (/proc/fs/cifs/LinuxExtensionsEnabled). Fixes Samba bugzilla bug number: 4582 (and also 2008) Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 17 Jul, 2007 1 commit
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 15 Jul, 2007 1 commit
-
-
Steve French authored
In the cleanup phase of the dbench test, we were noticing sharing violation followed by failed directory removals when dbench did not close the test files before the cleanup phase started. Using the new POSIX unlink, which Samba has supported for a few months, avoids this. Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 13 Jul, 2007 1 commit
-
-
Steve French authored
This should be the last big batch of whitespace/formatting fixes. checkpatch warnings for the cifs directory are down about 90% and many of the remaining ones are harder to remove or make the code harder to read. Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 07 Jul, 2007 1 commit
-
-
Steve French authored
Signed-off-by:
Steve French <sfrench@us.ibm.com>
-
- 06 Jul, 2007 1 commit
-
-
Jeff authored
Currently, if mount with a signing-enabled sec= option (e.g. sec=ntlmi), the kernel does a warning printk if the server doesn't support signing, and then proceeds without signatures. This is probably OK for people that think to look at the ring buffer, but seems wrong to me. If someone explicitly requests signing, we should error out if that request can't be satisfied. They can then reattempt the mount without signing if that's ok. Signed-off-by:
Jeff Layton <jlayton@redhat.com> Signed-off-by:
Steve French <sfrench@us.ibm.com>
-