Enable CIFS_WEAK_PW_HASH for the cifs module

Bug #206988 reported by Hans-Christian Noren Egtvedt on 2008-03-26
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description

Binary package hint: linux-image-2.6.24-12-generic

Trying to mount a Samba share on Samba server which is configured with a weak authentication does not work with the current linux-image.

 ~ > sudo smbmount //samba/share server -o username=myself,rw,uid=myself
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Trying to enable the weak password support in cifs by

 ~ # echo 0x37 > /proc/fs/cifs/SecurityFlags
echo: write error: invalid argument

And from dmesg

[82838.596009] CIFS VFS: attempt to set unsupported security flags 0x30

The .config option is called CIFS_WEAK_PW_HASH

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged

Hi Hans,

I just realized this is actually a duplicate of bug 202445. A member of the kernel just recently committed this fix to the Hardy kernel:

commit 36cb87a9e6ef334b262a1d03d897e8835d2975b8
Author: Ben Collins <email address hidden>
Date: Mon Mar 24 08:21:32 2008 -0400

    UBUNTU: build/config: Enable CONFIG_CIFS_WEAK_PW_HASH
    Bug: #202445

    Signed-off-by: Ben Collins <email address hidden>

diff --git a/debian/config/i386/config b/debian/config/i386/config
index f7deec7..377a6d4 100644
--- a/debian/config/i386/config
+++ b/debian/config/i386/config
@@ -155,7 +155,7 @@ CONFIG_CIFS=m
 # CONFIG_CIFS_DEBUG2 is not set
 # CONFIG_CIFS_STATS is not set
 # CONFIG_CIFS_XATTR is not set

Hi Leann,

Sorry about double posting, and thanks for letting me know there will be a fix down the pipe.

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers