search for: smb_fix_win95

Displaying 5 results from an estimated 5 matches for "smb_fix_win95".

1999 Jun 09
7
Do not use stock RedHat 6.0 kernels with SMBFS!
A non-text attachment was scrubbed... Name: not available Type: text Size: 570 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/19990609/78775f4b/attachment.bat
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...if ((server->opt.max_xmit < 0x1000) && + if (server->opt.protocol == SMB_PROTOCOL_NT1 && + (server->opt.max_xmit < 0x1000) && !(server->opt.capabilities & SMB_CAP_NT_SMBS)) { server->mnt->version |= SMB_FIX_WIN95; #ifdef SMBFS_DEBUG_VERBOSE @@ -706,8 +729,11 @@ WSET(buf, smb_uid, server->opt.server_uid); WSET(buf, smb_mid, 1); - *(buf+smb_flg) = 0x8; - WSET(buf, smb_flg2, 0x3); + if (server->opt.protocol > SMB_PROTOCOL_CORE) + { + *(buf+smb_fl...
1999 Oct 23
0
smbfs: patch for directory listing
...ches); /* max count */ WSET(param, 4, info_level); DSET(param, 6, ff_resume_key); /* ff_resume_key */ - WSET(param, 10, 8 + 4 + 2); /* resume required + - close on end + + WSET(param, 10, 4 + 2); /* close on end + continue */ if (server->mnt->version & SMB_FIX_WIN95) { @@ -1687,6 +1685,12 @@ case 259: if (ff_lastname < resp_data_len) mask_len = resp_data_len - ff_lastname; + /* The lastname pointer points to the record, + not to the name. */ + lastname += 12; + mask_len -= 12; + if(mask_len < 0) + mask_len = 0;...
1998 Sep 04
0
Linux SMB Mount utils patch
...ne smb_vmalloc(s) vmalloc(s) +#define smb_vfree(o) vfree(o) + +#endif /* DEBUG_SMB_MALLOC */ + +/* + * Flags for the in-memory inode + */ +#define SMB_F_CACHEVALID 0x01 /* directory cache valid */ +#define SMB_F_LOCALWRITE 0x02 /* file modified locally */ + +/* + * Bug fix flags + */ +#define SMB_FIX_WIN95 0x0001 /* Win 95 server */ +#define SMB_FIX_OLDATTR 0x0002 /* Use core getattr (Win 95 speedup) */ +#define SMB_FIX_DIRATTR 0x0004 /* Use find_first for getattr */ + +/* linux/fs/smbfs/mmap.c */ +int smb_mmap(struct file *, struct vm_area_struct *); + +/* linux/fs/smbfs/file.c */ +extern struct ino...
2003 Dec 01
0
No subject
...@@ -1453,6 +1453,11 @@ static void smb_finish_dirent(struct smb_sb_info *server, struct smb_fattr *fattr) { + /* workaround for win95 giving back a volume label and not a directory + if there is a dir with the same name as the volume label. sigh. */ + if ((server->mnt->version & SMB_FIX_WIN95) && (fattr->attr & aVOLID)) + fattr->attr |= aDIR; + fattr->f_mode = server->mnt->file_mode; if (fattr->attr & aDIR) { However, it does not compile on 2.2.19 (has the same problem), never tried 2.2.18. 2.2.19 does not define SMB_FIX_WIN95 and o...