TODO 5.2 KB

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