diff options
author | Jeff Layton <jlayton@redhat.com> | 2007-05-04 23:27:49 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-05-04 23:27:49 -0400 |
commit | 8426c39c1289765a11fc9b9523212ed368ceebd8 (patch) | |
tree | fc7cab82fafe76d11c77549ff16759ab86c88682 /fs/cifs/CHANGES | |
parent | 796e5661f6b6be1600b3ab47c61ce61cf3e7a353 (diff) |
[CIFS] Make sec=none force an anonymous mount
We had a customer report that attempting to make CIFS mount with a null
username (i.e. doing an anonymous mount) doesn't work. Looking through the
code, it looks like CIFS expects a NULL username from userspace in order
to trigger an anonymous mount. The mount.cifs code doesn't seem to ever
pass a null username to the kernel, however.
It looks also like the kernel can take a sec=none option, but it only seems
to look at it if the username is already NULL. This seems redundant and
effectively makes sec=none useless.
The following patch makes sec=none force an anonymous mount.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/CHANGES')
-rw-r--r-- | fs/cifs/CHANGES | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 62dcf6325861..a9b6bc5157b8 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -6,7 +6,9 @@ handle DNS host to ipv6 name translation). Accept override of uid or gid | |||
6 | on mount even when Unix Extensions are negotiated (it used to be ignored | 6 | on mount even when Unix Extensions are negotiated (it used to be ignored |
7 | when Unix Extensions were ignored). This allows users to override the | 7 | when Unix Extensions were ignored). This allows users to override the |
8 | default uid and gid for files when they are certain that the uids or | 8 | default uid and gid for files when they are certain that the uids or |
9 | gids on the server do not match those of the client. | 9 | gids on the server do not match those of the client. Make "sec=none" |
10 | mount override username (so that null user connection is attempted) | ||
11 | to match what documentation said. | ||
10 | 12 | ||
11 | Version 1.48 | 13 | Version 1.48 |
12 | ------------ | 14 | ------------ |