TODO 5.5 KB

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