Dear Suresh, I took a look at the patch that you mention, but *no*, it does not address the issue that I mention. The new code still does not convert all slashes to backslashes in the UNC field (i.e. the UNC given explicitly as in the unc= option.) Thus, it is still possible to get an "invalid parameter" error if you provide the UNC with slashes in it: mount.cifs //myserver/share /mnt/point -o unc=//myserver/share This will result in an error, since the unc option contains slashes and is converted as follows: \\myserver/share Thus causing an error within the extract_hostname function in connect.c. Please take a look at the attached patch, which corrects this issue and let me know what you think. :-) Thanks and regards Fred On 10/17/2012 11:55 AM, Suresh Jayaraman wrote: > On 10/16/2012 10:33 PM, Federico Sauter wrote: >> Greetings, >> >> >> I am having an issue mounting CIFS shares since we upgraded our Linux >> kernel from 2.6.27 to 3.4.10. Each time I try to mount a share drive I >> get an "Invalid argument" error message even though I am using the same >> command line that had previously worked, e.g.: >> > > A quick look suggests that the symptom is similar to the one fixed by > the below commit > > commit e73f843a3235a19de38359c91586e9eadef12238 > Author: Suresh Jayaraman > Date: Tue Jun 12 07:15:50 2012 +0530 > > cifs: fix parsing of password mount option > > > It might be worth trying to see whether the commit fixes the problem you > are seeing. > > > Thanks > Suresh > > >