This bug is still unfixed, and it causes problems not only for
passwords, but for the record name too.
# mount.cifs "record\\with\\comma\\in, name" ./mountpoint
mount error(22) Invalid Argument
In /var/log/kern.log
CIFS: Unknown Mount option " name"
--
You received this bug notification
The bug description includes dmesg output demonstrating the issue is
real; comment #6 includes the kernel source that probably emitted the
logs in the description. Thus setting to 'confirmed'.
** Changed in: linux (Ubuntu)
Status: Incomplete = Confirmed
--
You received this bug
I am also affected by this problem. The previous comment of Dee is
wrong. Passwords can be successfully put into . When choosing a
password like a, b mount outputs mount error(22): Invalid argument.
But dmesg reports CIFS: Unknown mount option b.
This clearly indicates a software problem. The
Almost three years later I am not involved in Ubuntu any more. As I
still get emails from time to time, so I figure, this has not been fixed
yet. I involved the Ubuntu Security Team, as this obviously is an
information disclosure vulnerability.
--
You received this bug notification because you
There's so many different ways to get the password in the mount.cifs.c
sources that I wouldn't be surprised if one path works fine while
another path fails this way.
For those who can test this, it would be nice to test mount -t cifs vs
calling mount.cifs directly, and it'd be worth testing the
Comma in password is just a common case. Password is not possible to put
in between '' or , what is a major issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069915
Title:
unable to mount CIFS
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: cifs-utils (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069915
Title:
Same problem here. Indeed, it affects to every user having a comma on
its password!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069915
Title:
unable to mount CIFS share with comma in password