diff options
author | Steve French <sfrench@us.ibm.com> | 2006-04-22 15:53:05 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-04-22 15:53:05 +0000 |
commit | 60808233f374aebba26488d06a5f25443f6763c3 (patch) | |
tree | e2f85a165398f0c6c7432a7fa715d18efc3d8d5b /fs/cifs/connect.c | |
parent | 45af7a0f2ebad1304cab956e15f0b37318226fcd (diff) | |
download | blackbird-op-linux-60808233f374aebba26488d06a5f25443f6763c3.tar.gz blackbird-op-linux-60808233f374aebba26488d06a5f25443f6763c3.zip |
[CIFS] Readdir fixes to allow search to start at arbitrary position
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>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 0b86d5ca9014..aaf151cb5822 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -3447,7 +3447,10 @@ int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo, pSesInfo->server->secMode, pSesInfo->server->capabilities, pSesInfo->server->timeZone)); - if (extended_security + if(experimEnabled > 1) + rc = CIFS_SessSetup(xid, pSesInfo, CIFS_NTLM /* type */, + &ntlmv2_flag, nls_info); + else if (extended_security && (pSesInfo->capabilities & CAP_EXTENDED_SECURITY) && (pSesInfo->server->secType == NTLMSSP)) { cFYI(1, ("New style sesssetup")); |