Steve French | 6473a55 | 2005-11-29 20:20:10 -0800 | [diff] [blame] | 1 | Version 1.39 November 30, 2005 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | |
| 3 | A Partial List of Missing Features |
| 4 | ================================== |
| 5 | |
| 6 | Contributions are welcome. There are plenty of opportunities |
| 7 | for visible, important contributions to this module. Here |
| 8 | is a partial list of the known problems and missing features: |
| 9 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 10 | a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown |
| 11 | so that these operations can be supported to Windows servers |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 13 | b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS |
| 14 | SecurityDescriptors |
| 15 | |
| 16 | c) Better pam/winbind integration (e.g. to handle uid mapping |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | better) |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | d) Kerberos/SPNEGO session setup support - (started) |
| 20 | |
Steve French | 35c11fd | 2007-02-27 05:09:35 +0000 | [diff] [blame] | 21 | e) NTLMv2 authentication (mostly implemented - double check |
| 22 | that NTLMv2 signing works, also need to cleanup now unneeded SessSetup code in |
| 23 | fs/cifs/connect.c) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | f) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup |
| 26 | used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLM |
| 27 | and raw NTLMSSP already. This is important when enabling |
| 28 | extended security and mounting to Windows 2003 Servers |
| 29 | |
| 30 | f) Directory entry caching relies on a 1 second timer, rather than |
| 31 | using FindNotify or equivalent. - (started) |
| 32 | |
| 33 | g) A few byte range testcases fail due to POSIX vs. Windows/CIFS |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 34 | style byte range lock differences. Save byte range locks so |
| 35 | reconnect can replay them. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 37 | h) Support unlock all (unlock 0,MAX_OFFSET) |
| 38 | by unlocking all known byte range locks that we locked on the file. |
| 39 | |
| 40 | i) quota support (needs minor kernel change since quota calls |
| 41 | to make it to network filesystems or deviceless filesystems) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | |
Steve French | 190fdeb | 2005-10-10 11:48:26 -0700 | [diff] [blame] | 43 | j) investigate sync behavior (including syncpage) and check |
| 44 | for proper behavior of intr/nointr |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | |
| 46 | k) hook lower into the sockets api (as NFS/SunRPC does) to avoid the |
| 47 | extra copy in/out of the socket buffers in some cases. |
| 48 | |
| 49 | l) finish support for IPv6. This is mostly complete but |
| 50 | needs a simple conversion of ipv6 to sin6_addr from the |
| 51 | address in string representation. |
| 52 | |
| 53 | m) Better optimize open (and pathbased setfilesize) to reduce the |
| 54 | oplock breaks coming from windows srv. Piggyback identical file |
| 55 | opens on top of each other by incrementing reference count rather |
| 56 | than resending (helps reduce server resource utilization and avoid |
| 57 | spurious oplock breaks). |
| 58 | |
| 59 | o) Improve performance of readpages by sending more than one read |
| 60 | at a time when 8 pages or more are requested. In conjuntion |
| 61 | add support for async_cifs_readpages. |
| 62 | |
Steve French | 6473a55 | 2005-11-29 20:20:10 -0800 | [diff] [blame] | 63 | p) Add support for storing symlink info to Windows servers |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | in the Extended Attribute format their SFU clients would recognize. |
| 65 | |
| 66 | q) Finish fcntl D_NOTIFY support so kde and gnome file list windows |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 67 | will autorefresh (partially complete by Asser). Needs minor kernel |
| 68 | vfs change to support removing D_NOTIFY on a file. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | |
| 70 | r) Add GUI tool to configure /proc/fs/cifs settings and for display of |
| 71 | the CIFS statistics (started) |
| 72 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 73 | s) implement support for security and trusted categories of xattrs |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | (requires minor protocol extension) to enable better support for SELINUX |
| 75 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 76 | t) Implement O_DIRECT flag on open (already supported on mount) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 77 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 78 | u) Create UID mapping facility so server UIDs can be mapped on a per |
Steve French | 9ea1f8f | 2005-04-30 11:10:58 -0700 | [diff] [blame] | 79 | mount or a per server basis to client UIDs or nobody if no mapping |
| 80 | exists. This is helpful when Unix extensions are negotiated to |
| 81 | allow better permission checking when UIDs differ on the server |
| 82 | and client. Add new protocol request to the CIFS protocol |
| 83 | standard for asking the server for the corresponding name of a |
| 84 | particular uid. |
| 85 | |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 86 | v) Add support for CIFS Unix and also the newer POSIX extensions to the |
| 87 | server side for Samba 4. |
| 88 | |
| 89 | w) Finish up the dos time conversion routines needed to return old server |
| 90 | time to the client (default time, of now or time 0 is used now for these |
| 91 | very old servers) |
| 92 | |
Steve French | 35c11fd | 2007-02-27 05:09:35 +0000 | [diff] [blame] | 93 | x) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers) |
| 94 | need to add ability to set time to server (utimes command) |
Steve French | 9a899e7 | 2005-09-06 15:55:49 -0700 | [diff] [blame] | 95 | |
| 96 | y) Finish testing of Windows 9x/Windows ME server support (started). |
| 97 | |
Steve French | 35c11fd | 2007-02-27 05:09:35 +0000 | [diff] [blame] | 98 | KNOWN BUGS (updated February 26, 2007) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | ==================================== |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 100 | See http://bugzilla.samba.org - search on product "CifsVFS" for |
| 101 | current bug list. |
| 102 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | 1) existing symbolic links (Windows reparse points) are recognized but |
| 104 | can not be created remotely. They are implemented for Samba and those that |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 105 | support the CIFS Unix extensions, although earlier versions of Samba |
| 106 | overly restrict the pathnames. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | 2) follow_link and readdir code does not follow dfs junctions |
| 108 | but recognizes them |
| 109 | 3) create of new files to FAT partitions on Windows servers can |
| 110 | succeed but still return access denied (appears to be Windows |
| 111 | server not cifs client problem) and has not been reproduced recently. |
| 112 | NTFS partitions do not have this problem. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | |
| 114 | Misc testing to do |
| 115 | ================== |
| 116 | 1) check out max path names and max path name components against various server |
| 117 | types. Try nested symlinks (8 deep). Return max path name in stat -f information |
| 118 | |
| 119 | 2) Modify file portion of ltp so it can run against a mounted network |
Steve French | 35c11fd | 2007-02-27 05:09:35 +0000 | [diff] [blame] | 120 | share and run it against cifs vfs in automated fashion. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 121 | |
| 122 | 3) Additional performance testing and optimization using iozone and similar - |
| 123 | there are some easy changes that can be done to parallelize sequential writes, |
| 124 | and when signing is disabled to request larger read sizes (larger than |
| 125 | negotiated size) and send larger write sizes to modern servers. |
| 126 | |
Steve French | 6a0b482 | 2005-04-28 22:41:05 -0700 | [diff] [blame] | 127 | 4) More exhaustively test against less common servers. More testing |
| 128 | against Windows 9x, Windows ME servers. |
Steve French | 8af1897 | 2007-02-14 04:42:51 +0000 | [diff] [blame] | 129 | |
| 130 | DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too) |
| 131 | |
| 132 | mount check for unmatched uids - and uid override |
| 133 | |
| 134 | Add mount option for Linux extension disable per mount, and partial disable per mount (uid off, symlink/fifo/mknod on but what about posix acls?) |
| 135 | |
| 136 | Free threads at umount --force that are stuck on the sesSem |