summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
Commit message (Collapse)AuthorAgeFilesLines
* [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path)Steve French2006-09-211-0/+47
| | | | | | Samba bugzilla #4040 Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix oops in cifs_close due to unitialized lock sem and list inSteve French2006-08-151-6/+8
| | | | | | new POSIX locking code Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Allow cifsd to suspend if connection is lostSteve French2006-08-111-0/+1
| | | | | | | | | | | Make cifsd allow us to suspend if it has lost the connection with a server Ref: http://bugzilla.kernel.org/show_bug.cgi?id=6811 Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Steve French <sfrench@us.ibm.com> (cherry picked from 27bd6cd87b0ada66515ad49bc346d77d1e9d3e05 commit)
* [CIFS] Do not time out posix brl requests when using new posix setfileinfoSteve French2006-08-111-1/+16
| | | | | | | | | | request and do not time out slow requests to a server that is still responding well to other threads Suggested by jra of Samba team Signed-off-by: Steve French <sfrench@us.ibm.com> (cherry picked from 89b57148115479eef074b8d3f86c4c86c96ac969 commit)
* [CIFS] Fix allocation of buffers for new session setup routine to allowSteve French2006-06-271-9/+14
| | | | | | longer user and domain names and allow passing sec options on mount Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] remove some redundant null pointer checksSteve French2006-06-261-30/+15
| | | | | | some of them pointed out by Dave Jones Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Enable sec flags on mount for cifs (part one)Steve French2006-06-231-315/+23
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix suspend/resume problem which causes EIO on subsequent access toPavel Machek2006-06-131-12/+12
| | | | | | | the mount. Signed-off-by: Pavel Machek <pavel@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Support for setting up SMB sessions to legacy lanman servers part 2Steve French2006-06-011-18/+29
|
* [CIFS] Support for setting up SMB sessions to legacy lanman serversSteve French2006-05-311-13/+26
|
* [CIFS] Fix typos in previous fixSteve French2006-05-301-3/+3
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] fix memory leak in cifs session info struct on reconnectSteve French2006-05-301-6/+82
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Do not limit the length of share names (was 100 for whole UNC name)Steve French2006-05-301-3/+6
| | | | | | during mount. Especially important for some non-Western languages. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefinedSteve French2006-04-241-1/+4
| | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Readdir fixes to allow search to start at arbitrary positionSteve French2006-04-221-1/+4
| | | | | | | | | in directory Also includes first part of fix to compensate for servers which forget to return . and .. as well as updates to changelog and cifs readme. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix slow oplock break response when mounts to differentSteve French2006-03-031-1/+1
| | | | | | servers have same tid and we try to match oplock break to wrong tid. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Workaround various server bugs found in testing at connectathonSteve French2006-03-031-0/+8
| | | | | | | | | - slow down negprot 1ms during mount when RFC1001 over port 139 to give buggy servers time to clear sess_init - remap some plausible but incorrect SMB return codes to the right ones in truncate and hardlink paths Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Make POSIX CIFS Extensions SetFSInfo match exactly what we wantSteve French2006-03-021-15/+22
| | | | | | not just the posix path feature. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix large (ie over 64K for MaxCIFSBufSize) buffer case for wrappingSteve French2006-02-241-1/+3
| | | | | | bcc on read response and for wrapping sessionsetup maxbufsize field Signed-off-by: Steve French <sfrench@us.ibm.com>
* Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.gitSteve French2006-02-221-4/+4
|\ | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [PATCH] CIFS: CIFSSMBRead was returning an invalid pointer in buf on socket ↵Steve French2006-02-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | error Thanks to Adrian Bunk for debugging the problem and to Shaggy for helping find the solution. Also added a fix for 64K pages we found in loosely-related testing Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [CIFS] SessionSetup cleanup part 2Steve French2006-02-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The cifs session setup code has three cases, and a fourth for backlevel LANMAN2 style session setup needed to be added. This new session setup implmentation will eventually replace the other three and should be easier to read while fixing a few minor problems (not setting the LARGE READ/WRITEX flags when NTLMSSP was negotiated for example) and adding support for NTLMv2 (which will be added with the next patch. In the meantime, this code is marked in an CONFIG_CIFS_EXPERIMENTAL block and will not be turned on by default until it is tested against more server types. Signed-off-by: Steve French <sfrench@us.ibm.com>
* | [CIFS] Cleanup NTLMSSP session setup handlingSteve French2006-02-091-28/+14
|/ | | | | | Fix to hash NTLMv2 properly will follow. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Remove compiler warningSteve French2006-01-271-1/+2
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Make cifs default wsize match what we actually want to send (52KSteve French2006-01-241-1/+9
| | | | | | | | | | typically - header + 13 pages). Forgetting to set wsize on the mount command costs more than 10% on large write (can be much more) so this makes a saner default. We still shrink this default smaller if server can not support it. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix CIFS to recognize share mode securitySteve French2006-01-131-5/+22
| | | | | | | | | Fix Samba bugzilla bug 3301 In share mode encrypted password must be sent on tree connection (in our case only the NTLM password is sent, not the older LANMAN one). Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Add worker function for Get ACL cifs styleSteve French2006-01-121-0/+7
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Avoid extra large buffer allocation (and memcpy) in cifs_readpagesSteve French2005-12-121-1/+1
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Kerberos and CIFS ACL support part 1Steve French2005-12-011-7/+46
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Cleanup sparse warnings for unicode little endian castsSteve French2005-11-111-50/+41
| | | | | | | | Following Shaggy's suggestion, do a better job on the unicode string handling routines in cifs in specifying that the wchar_t are really little endian widechars (__le16). Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Reserve upcall IDX value for CIFS with connector header and addSteve French2005-11-101-0/+1
| | | | | | Kconfig option for CIFS upcall. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [PATCH] kfree cleanup: fsJesper Juhl2005-11-071-54/+27
| | | | | | | | | | This is the fs/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in fs/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/Steve French2005-10-211-37/+182
|\
| * [CIFS] CIFS Stats improvementsSteve French2005-10-111-0/+3
| | | | | | | | | | | | New cifs_writepages routine was not updated bytes written in cifs stats. Also added ability to clear /proc/fs/cifs/Stats by writing (0 or 1) to it. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Do not shrink tcp sndbuf/rcvbuf from their defaultsSteve French2005-10-101-8/+10
| | | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Fix rsize calculation so that large readx flag is checked.Steve French2005-10-101-5/+24
| | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
| * CIFS: Allow wsize to exceed CIFSMaxBufSizeSteve French2005-10-051-1/+1
| | | | | | | | | | | | | | | | This allows cifs_writepages to send data in larger chunks from the page cache, without requiring larger memory allocations in other cases. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Add writepages support to shrink memory usage on writes,Steve French2005-10-031-0/+4
| | | | | | | | | | | | | | | | | | | | eliminate the double copy, and improve cifs write performance and help the server by upping the typical write size from 4K to 16K (or even larger if wsize set explicitly) for servers which support this. Part 1 of 2 Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Various minor bigendian fixes and sparse level 2 warning message fixesSteve French2005-09-221-13/+25
| | | | | | | | | | | | | | Most important of these fixes mapchars on bigendian and a few statfs fields Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add support for legacy servers part 4Steve French2005-08-301-1/+1
| | | | | | | | | | | | | | Fix WriteX support for old servers which do not support large files. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte rangeSteve French2005-08-301-1/+2
| | | | | | | | | | | | locks remotely. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add support for suspendSteve French2005-08-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French <sfrench@us.ibm.com> lightly modified --- fs/cifs/CHANGES | 3 ++- fs/cifs/cifsfs.c | 4 ++++ fs/cifs/connect.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-)
| * [CIFS] Support for mounting to older servers part 2. Add support forSteve French2005-08-231-2/+3
| | | | | | | | | | | | legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Support for mounting to older, pre-CIFS servers added. ThisSteve French2005-08-221-9/+48
| | | | | | | | | | | | | | | | | | | | | | | | allows specifying an RFC1001 target "called" name (netbios name of the server, which can now be pecified as mount option "servernetbiosname" but will eventually be passed in automatically on retry of host down error messages caused when server refuses to handle default server name and can not handle port 445). This is an important step, but additional testing and fixup is needed to add remaining function needed for these. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Finish cifs mount option which requests case insensitive pathSteve French2005-08-191-2/+7
| | | | | | | | | | | | name matching. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add mount option for disabling sending byte range lock requestsSteve French2005-08-181-1/+13
| | | | | | | | | | | | | | | | over the wire (to help the case when applications break with cifs mandatory lock behavior. Add part one of mount option for requesting case insensitive path name matching. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] rmmod cifs can oops if done soon after the last cifs unmountSteve French2005-08-181-7/+18
| | | | | | | | | | Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Ensure that cifs multiplex ids do not collide.Steve French2005-08-171-0/+9
| | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add compat with SFU (part 1)Steve French2005-07-141-0/+7
| | | | | | | | | | | | | | | | | | This should help the case of creating fifos and other special files to servers which do not support the Unix extensions. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his suggestions and good analysis
| * [CIFS] Fix typo in POSIX SetFSInfo callSteve French2005-06-231-1/+1
| | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
OpenPOWER on IntegriCloud