blob: d57dc2917d0493affe40c64e5bf77ad9d22340af [file] [log] [blame]
Steve Frenchdeb04202007-04-26 14:35:54 +00001Version 1.49 April 26, 2007
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
3A Partial List of Missing Features
4==================================
5
6Contributions are welcome. There are plenty of opportunities
7for visible, important contributions to this module. Here
8is a partial list of the known problems and missing features:
9
Steve French9a899e72005-09-06 15:55:49 -070010a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown
11so that these operations can be supported to Windows servers
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Steve French9a899e72005-09-06 15:55:49 -070013b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
14SecurityDescriptors
15
16c) Better pam/winbind integration (e.g. to handle uid mapping
Linus Torvalds1da177e2005-04-16 15:20:36 -070017better)
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019d) Kerberos/SPNEGO session setup support - (started)
20
Steve Frenchdeb04202007-04-26 14:35:54 +000021e) More testing of NTLMv2 authentication (mostly implemented - double check
Steve French35c11fd2007-02-27 05:09:35 +000022that NTLMv2 signing works, also need to cleanup now unneeded SessSetup code in
23fs/cifs/connect.c)
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
25f) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup
26used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLM
27and raw NTLMSSP already. This is important when enabling
28extended security and mounting to Windows 2003 Servers
29
Steve Frenchdeb04202007-04-26 14:35:54 +000030g) Directory entry caching relies on a 1 second timer, rather than
Linus Torvalds1da177e2005-04-16 15:20:36 -070031using FindNotify or equivalent. - (started)
32
Steve Frenchdeb04202007-04-26 14:35:54 +000033h) quota support (needs minor kernel change since quota calls
Steve French9a899e72005-09-06 15:55:49 -070034to make it to network filesystems or deviceless filesystems)
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
Steve Frenchdeb04202007-04-26 14:35:54 +000036i) investigate sync behavior (including syncpage) and check
Steve French190fdeb2005-10-10 11:48:26 -070037for proper behavior of intr/nointr
Linus Torvalds1da177e2005-04-16 15:20:36 -070038
Steve Frenchdeb04202007-04-26 14:35:54 +000039j) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
Linus Torvalds1da177e2005-04-16 15:20:36 -070040extra copy in/out of the socket buffers in some cases.
41
Steve Frenchdeb04202007-04-26 14:35:54 +000042k) Better optimize open (and pathbased setfilesize) to reduce the
Linus Torvalds1da177e2005-04-16 15:20:36 -070043oplock breaks coming from windows srv. Piggyback identical file
44opens on top of each other by incrementing reference count rather
45than resending (helps reduce server resource utilization and avoid
46spurious oplock breaks).
47
Steve Frenchdeb04202007-04-26 14:35:54 +000048l) Improve performance of readpages by sending more than one read
Linus Torvalds1da177e2005-04-16 15:20:36 -070049at a time when 8 pages or more are requested. In conjuntion
50add support for async_cifs_readpages.
51
Steve Frenchdeb04202007-04-26 14:35:54 +000052m) Add support for storing symlink info to Windows servers
Linus Torvalds1da177e2005-04-16 15:20:36 -070053in the Extended Attribute format their SFU clients would recognize.
54
Steve Frenchdeb04202007-04-26 14:35:54 +000055n) Finish fcntl D_NOTIFY support so kde and gnome file list windows
Steve French9a899e72005-09-06 15:55:49 -070056will autorefresh (partially complete by Asser). Needs minor kernel
57vfs change to support removing D_NOTIFY on a file.
Linus Torvalds1da177e2005-04-16 15:20:36 -070058
Steve Frenchdeb04202007-04-26 14:35:54 +000059o) Add GUI tool to configure /proc/fs/cifs settings and for display of
Linus Torvalds1da177e2005-04-16 15:20:36 -070060the CIFS statistics (started)
61
Steve Frenchdeb04202007-04-26 14:35:54 +000062p) implement support for security and trusted categories of xattrs
Linus Torvalds1da177e2005-04-16 15:20:36 -070063(requires minor protocol extension) to enable better support for SELINUX
64
Steve Frenchdeb04202007-04-26 14:35:54 +000065q) Implement O_DIRECT flag on open (already supported on mount)
Linus Torvalds1da177e2005-04-16 15:20:36 -070066
Steve Frenchdeb04202007-04-26 14:35:54 +000067r) Create UID mapping facility so server UIDs can be mapped on a per
Steve French9ea1f8f2005-04-30 11:10:58 -070068mount or a per server basis to client UIDs or nobody if no mapping
69exists. This is helpful when Unix extensions are negotiated to
70allow better permission checking when UIDs differ on the server
71and client. Add new protocol request to the CIFS protocol
72standard for asking the server for the corresponding name of a
73particular uid.
74
Steve Frenchdeb04202007-04-26 14:35:54 +000075s) Add support for CIFS Unix and also the newer POSIX extensions to the
Steve French9a899e72005-09-06 15:55:49 -070076server side for Samba 4.
77
Steve Frenchdeb04202007-04-26 14:35:54 +000078t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers)
Steve French35c11fd2007-02-27 05:09:35 +000079need to add ability to set time to server (utimes command)
Steve French9a899e72005-09-06 15:55:49 -070080
Steve Frenchdeb04202007-04-26 14:35:54 +000081u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
Steve French9a899e72005-09-06 15:55:49 -070082
Steve French4523cc32007-04-30 20:13:06 +000083v) mount check for unmatched uids
Steve Frenchdeb04202007-04-26 14:35:54 +000084
85w) Add mount option for Linux extension disable per mount, and partial
86disable per mount (uid off, symlink/fifo/mknod on but what about posix acls?)
87
88x) Fix Samba 3 server to handle Linux kernel aio so dbench with lots of
89processes can proceed better in parallel (on the server)
90
91y) Fix Samba 3 to handle reads/writes over 127K (and remove the cifs mount
92restriction of wsize max being 127K)
93
94KNOWN BUGS (updated April 24, 2007)
Linus Torvalds1da177e2005-04-16 15:20:36 -070095====================================
Steve French6a0b4822005-04-28 22:41:05 -070096See http://bugzilla.samba.org - search on product "CifsVFS" for
97current bug list.
98
Linus Torvalds1da177e2005-04-16 15:20:36 -0700991) existing symbolic links (Windows reparse points) are recognized but
100can not be created remotely. They are implemented for Samba and those that
Steve French6a0b4822005-04-28 22:41:05 -0700101support the CIFS Unix extensions, although earlier versions of Samba
102overly restrict the pathnames.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001032) follow_link and readdir code does not follow dfs junctions
104but recognizes them
1053) create of new files to FAT partitions on Windows servers can
106succeed but still return access denied (appears to be Windows
107server not cifs client problem) and has not been reproduced recently.
108NTFS partitions do not have this problem.
Steve French75865f8c2007-06-24 18:30:48 +00001094) Unix/POSIX capabilities are reset after reconnection, and affect
110a few fields in the tree connection but we do do not know which
111superblocks to apply these changes to. We should probably walk
112the list of superblocks to set these. Also need to check the
113flags on the second mount to the same share, and see if we
114can do the same trick that NFS does to remount duplicate shares.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115
116Misc testing to do
117==================
1181) check out max path names and max path name components against various server
119types. Try nested symlinks (8 deep). Return max path name in stat -f information
120
1212) Modify file portion of ltp so it can run against a mounted network
Steve French35c11fd2007-02-27 05:09:35 +0000122share and run it against cifs vfs in automated fashion.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123
1243) Additional performance testing and optimization using iozone and similar -
125there are some easy changes that can be done to parallelize sequential writes,
126and when signing is disabled to request larger read sizes (larger than
127negotiated size) and send larger write sizes to modern servers.
128
Steve French6a0b4822005-04-28 22:41:05 -07001294) More exhaustively test against less common servers. More testing
130against Windows 9x, Windows ME servers.
Steve French8af18972007-02-14 04:42:51 +0000131