]> bbs.cooldavid.org Git - net-next-2.6.git/blame - fs/cifs/TODO
[CIFS] small piece missing from previous patch
[net-next-2.6.git] / fs / cifs / TODO
CommitLineData
6473a559 1Version 1.39 November 30, 2005
1da177e4
LT
2
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
9a899e76
SF
10a) Support for SecurityDescriptors(Windows/CIFS ACLs) for chmod/chgrp/chown
11so that these operations can be supported to Windows servers
1da177e4 12
9a899e76
SF
13b) Mapping POSIX ACLs (and eventually NFSv4 ACLs) to CIFS
14SecurityDescriptors
1da177e4 15
9a899e76
SF
16c) Better pam/winbind integration (e.g. to handle uid mapping
17better)
1da177e4
LT
18
19d) Kerberos/SPNEGO session setup support - (started)
20
21e) NTLMv2 authentication (mostly implemented)
22
23f) MD5-HMAC signing SMB PDUs when SPNEGO style SessionSetup
24used (Kerberos or NTLMSSP). Signing alreadyimplemented for NTLM
25and raw NTLMSSP already. This is important when enabling
26extended security and mounting to Windows 2003 Servers
27
28f) Directory entry caching relies on a 1 second timer, rather than
29using FindNotify or equivalent. - (started)
30
31g) A few byte range testcases fail due to POSIX vs. Windows/CIFS
9a899e76
SF
32style byte range lock differences. Save byte range locks so
33reconnect can replay them.
1da177e4 34
9a899e76
SF
35h) Support unlock all (unlock 0,MAX_OFFSET)
36by unlocking all known byte range locks that we locked on the file.
37
38i) quota support (needs minor kernel change since quota calls
39to make it to network filesystems or deviceless filesystems)
1da177e4 40
190fdeb8
SF
41j) investigate sync behavior (including syncpage) and check
42for proper behavior of intr/nointr
1da177e4
LT
43
44k) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
45extra copy in/out of the socket buffers in some cases.
46
47l) finish support for IPv6. This is mostly complete but
48needs a simple conversion of ipv6 to sin6_addr from the
49address in string representation.
50
51m) Better optimize open (and pathbased setfilesize) to reduce the
52oplock breaks coming from windows srv. Piggyback identical file
53opens on top of each other by incrementing reference count rather
54than resending (helps reduce server resource utilization and avoid
55spurious oplock breaks).
56
57o) Improve performance of readpages by sending more than one read
58at a time when 8 pages or more are requested. In conjuntion
59add support for async_cifs_readpages.
60
6473a559 61p) Add support for storing symlink info to Windows servers
1da177e4
LT
62in the Extended Attribute format their SFU clients would recognize.
63
64q) Finish fcntl D_NOTIFY support so kde and gnome file list windows
9a899e76
SF
65will autorefresh (partially complete by Asser). Needs minor kernel
66vfs change to support removing D_NOTIFY on a file.
1da177e4
LT
67
68r) Add GUI tool to configure /proc/fs/cifs settings and for display of
69the CIFS statistics (started)
70
9a899e76 71s) implement support for security and trusted categories of xattrs
1da177e4
LT
72(requires minor protocol extension) to enable better support for SELINUX
73
9a899e76 74t) Implement O_DIRECT flag on open (already supported on mount)
737b758c 75
9a899e76 76u) Create UID mapping facility so server UIDs can be mapped on a per
9ea1f8f5
SF
77mount or a per server basis to client UIDs or nobody if no mapping
78exists. This is helpful when Unix extensions are negotiated to
79allow better permission checking when UIDs differ on the server
80and client. Add new protocol request to the CIFS protocol
81standard for asking the server for the corresponding name of a
82particular uid.
83
9a899e76
SF
84v) Add support for CIFS Unix and also the newer POSIX extensions to the
85server side for Samba 4.
86
87w) Finish up the dos time conversion routines needed to return old server
88time to the client (default time, of now or time 0 is used now for these
89very old servers)
90
91x) Add support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers)
92
93y) Finish testing of Windows 9x/Windows ME server support (started).
94
9ea1f8f5 95KNOWN BUGS (updated April 29, 2005)
1da177e4 96====================================
6a0b4824
SF
97See http://bugzilla.samba.org - search on product "CifsVFS" for
98current bug list.
99
1da177e4
LT
1001) existing symbolic links (Windows reparse points) are recognized but
101can not be created remotely. They are implemented for Samba and those that
6a0b4824
SF
102support the CIFS Unix extensions, although earlier versions of Samba
103overly restrict the pathnames.
1da177e4
LT
1042) follow_link and readdir code does not follow dfs junctions
105but recognizes them
1063) create of new files to FAT partitions on Windows servers can
107succeed but still return access denied (appears to be Windows
108server not cifs client problem) and has not been reproduced recently.
109NTFS partitions do not have this problem.
1104) debug connectathon lock test case 10 which fails against
111Samba (may be unmappable due to POSIX to Windows lock model
112differences but worth investigating). Also debug Samba to
113see why lock test case 7 takes longer to complete to Samba
114than to Windows.
115
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
122share and run it against cifs vfs.
123
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
6a0b4824
SF
1294) More exhaustively test against less common servers. More testing
130against Windows 9x, Windows ME servers.
8af18971
SF
131
132DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
133
134mount check for unmatched uids - and uid override
135
136Add mount option for Linux extension disable per mount, and partial disable per mount (uid off, symlink/fifo/mknod on but what about posix acls?)
137
138Free threads at umount --force that are stuck on the sesSem