1 Version 1.39 November 30, 2005
3 A Partial List of Missing Features
4 ==================================
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:
10 a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown
11 so that these operations can be supported to Windows servers
13 b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
16 c) Better pam/winbind integration (e.g. to handle uid mapping
19 d) Kerberos/SPNEGO session setup support - (started)
21 e) NTLMv2 authentication (mostly implemented - double check
22 that NTLMv2 signing works, also need to cleanup now unneeded SessSetup code in
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
30 f) Directory entry caching relies on a 1 second timer, rather than
31 using FindNotify or equivalent. - (started)
33 g) A few byte range testcases fail due to POSIX vs. Windows/CIFS
34 style byte range lock differences. Save byte range locks so
35 reconnect can replay them.
37 h) Support unlock all (unlock 0,MAX_OFFSET)
38 by unlocking all known byte range locks that we locked on the file.
40 i) quota support (needs minor kernel change since quota calls
41 to make it to network filesystems or deviceless filesystems)
43 j) investigate sync behavior (including syncpage) and check
44 for proper behavior of intr/nointr
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.
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.
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).
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.
63 p) Add support for storing symlink info to Windows servers
64 in the Extended Attribute format their SFU clients would recognize.
66 q) Finish fcntl D_NOTIFY support so kde and gnome file list windows
67 will autorefresh (partially complete by Asser). Needs minor kernel
68 vfs change to support removing D_NOTIFY on a file.
70 r) Add GUI tool to configure /proc/fs/cifs settings and for display of
71 the CIFS statistics (started)
73 s) implement support for security and trusted categories of xattrs
74 (requires minor protocol extension) to enable better support for SELINUX
76 t) Implement O_DIRECT flag on open (already supported on mount)
78 u) Create UID mapping facility so server UIDs can be mapped on a per
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
86 v) Add support for CIFS Unix and also the newer POSIX extensions to the
87 server side for Samba 4.
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
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)
96 y) Finish testing of Windows 9x/Windows ME server support (started).
98 KNOWN BUGS (updated February 26, 2007)
99 ====================================
100 See http://bugzilla.samba.org - search on product "CifsVFS" for
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
105 support the CIFS Unix extensions, although earlier versions of Samba
106 overly restrict the pathnames.
107 2) follow_link and readdir code does not follow dfs junctions
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.
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
119 2) Modify file portion of ltp so it can run against a mounted network
120 share and run it against cifs vfs in automated fashion.
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.
127 4) More exhaustively test against less common servers. More testing
128 against Windows 9x, Windows ME servers.
130 DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
132 mount check for unmatched uids - and uid override
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?)
136 Free threads at umount --force that are stuck on the sesSem