[Bugme-new] [Bug 9228] New: mount with //10.1.9.55/c$ doesn't work, with //10.1.9.55\\c$ works

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Fri Oct 26 01:24:24 PDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=9228

           Summary: mount with //10.1.9.55/c$ doesn't work, with
                    //10.1.9.55\\c$ works
           Product: File System
           Version: 2.5
     KernelVersion: 2.6.23.1
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: CIFS
        AssignedTo: fs_cifs at kernel-bugs.osdl.org
        ReportedBy: hanzelpeter at gmail.com


Most recent kernel where this bug did not occur: 2.6.22.5
Distribution: LFS
Hardware Environment: VMWare on x86
Software Environment: LFS
Problem Description:
When I try to mount windows share with this command:
  mount -t cifs -o username=xx,password=xx //10.1.9.55/c$ /mnt/d
it doesn't work.

If i use:
  mount -t cifs -o username=xx,password=xx //10.1.9.55\\c$ /mnt/d
it works.

Comment from cifs\netmisc.c

int cifs_inet_pton(int address_family, char *cp, void *dst)
{
        int ret = 0;

        /* calculate length by finding first slash or NULL */
        /* BB Should we convert '/' slash to '\' here since it seems already
         * done before this */ 

So before it was converted, but now not.


Steps to reproduce:


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list