]> bbs.cooldavid.org Git - net-next-2.6.git/blame - fs/cifs/TODO
x86_64: Ignore compat mode SYSCALL when IA32_EMULATION is not defined
[net-next-2.6.git] / fs / cifs / TODO
CommitLineData
deb0420c 1Version 1.49 April 26, 2007
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
deb0420c 21e) More testing of NTLMv2 authentication (mostly implemented - double check
35c11fdd
SF
22that NTLMv2 signing works, also need to cleanup now unneeded SessSetup code in
23fs/cifs/connect.c)
1da177e4
LT
24
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
deb0420c 30g) Directory entry caching relies on a 1 second timer, rather than
1da177e4
LT
31using FindNotify or equivalent. - (started)
32
deb0420c 33h) quota support (needs minor kernel change since quota calls
9a899e76 34to make it to network filesystems or deviceless filesystems)
1da177e4 35
deb0420c 36i) investigate sync behavior (including syncpage) and check
190fdeb8 37for proper behavior of intr/nointr
1da177e4 38
deb0420c 39j) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
1da177e4
LT
40extra copy in/out of the socket buffers in some cases.
41
deb0420c 42k) Better optimize open (and pathbased setfilesize) to reduce the
1da177e4
LT
43oplock 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
deb0420c 48l) Improve performance of readpages by sending more than one read
1da177e4
LT
49at a time when 8 pages or more are requested. In conjuntion
50add support for async_cifs_readpages.
51
deb0420c 52m) Add support for storing symlink info to Windows servers
1da177e4
LT
53in the Extended Attribute format their SFU clients would recognize.
54
deb0420c 55n) Finish fcntl D_NOTIFY support so kde and gnome file list windows
9a899e76
SF
56will autorefresh (partially complete by Asser). Needs minor kernel
57vfs change to support removing D_NOTIFY on a file.
1da177e4 58
deb0420c 59o) Add GUI tool to configure /proc/fs/cifs settings and for display of
1da177e4
LT
60the CIFS statistics (started)
61
deb0420c 62p) implement support for security and trusted categories of xattrs
1da177e4
LT
63(requires minor protocol extension) to enable better support for SELINUX
64
deb0420c 65q) Implement O_DIRECT flag on open (already supported on mount)
737b758c 66
deb0420c 67r) Create UID mapping facility so server UIDs can be mapped on a per
9ea1f8f5
SF
68mount 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
deb0420c 75s) Add support for CIFS Unix and also the newer POSIX extensions to the
9a899e76
SF
76server side for Samba 4.
77
deb0420c 78t) In support for OS/2 (LANMAN 1.2 and LANMAN2.1 based SMB servers)
35c11fdd 79need to add ability to set time to server (utimes command)
9a899e76 80
deb0420c
SF
81u) DOS attrs - returned as pseudo-xattr in Samba format (check VFAT and NTFS for this too)
82
4523cc30 83v) mount check for unmatched uids
deb0420c
SF
84
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?)
9a899e76 87
deb0420c
SF
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)
1da177e4 95====================================
6a0b4824
SF
96See http://bugzilla.samba.org - search on product "CifsVFS" for
97current bug list.
98
1da177e4
LT
991) existing symbolic links (Windows reparse points) are recognized but
100can not be created remotely. They are implemented for Samba and those that
6a0b4824
SF
101support the CIFS Unix extensions, although earlier versions of Samba
102overly restrict the pathnames.
1da177e4
LT
1032) 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.
1da177e4
LT
109
110Misc testing to do
111==================
1121) check out max path names and max path name components against various server
113types. Try nested symlinks (8 deep). Return max path name in stat -f information
114
1152) Modify file portion of ltp so it can run against a mounted network
35c11fdd 116share and run it against cifs vfs in automated fashion.
1da177e4
LT
117
1183) Additional performance testing and optimization using iozone and similar -
119there are some easy changes that can be done to parallelize sequential writes,
120and when signing is disabled to request larger read sizes (larger than
121negotiated size) and send larger write sizes to modern servers.
122
6a0b4824
SF
1234) More exhaustively test against less common servers. More testing
124against Windows 9x, Windows ME servers.
8af18971 125