FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2005
    Posts
    7

    CIFS VFS: cifs_mount failed

    dear all ,

    am trying to mount permament or temporary shares located in windows 2003 server
    i use kernel kernel-2.6.12-1.1456_FC4
    i've downloaded the latest stable samba rpm release samba-3.0.20a-1
    i can list the windows servers using
    smbclient -L 10.10.10.1 -U hesmat

    when using the command
    mount -t cifs -v -o user=hesmat,pass=mypassword /servername/PUBLIC /home/hus/public
    mount: wrong fs type, bad option, bad superblock on //servername/PUBLIC,
    missing codepage or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    when typing command dmesg | tail
    CIFS VFS: cifs_mount failed w/return code = -22
    CIFS VFS: cifs_mount failed w/return code = -22
    CIFS VFS: Unexpected SMB signature
    CIFS VFS: Send error in SessSetup = -13
    CIFS VFS: cifs_mount failed w/return code = -13
    CIFS VFS: Unexpected SMB signature
    CIFS VFS: Send error in SessSetup = -13
    CIFS VFS: cifs_mount failed w/return code = -13
    CIFS VFS: cifs_mount failed w/return code = -22
    CIFS VFS: cifs_mount failed w/return code = -22

    when using smbfs instead of cifs i receive this
    cli_negprot: SMB signing is mandatory and we have disabled it.
    4363: protocol negotiation failed
    SMB connection failed

    please advice , thanks in advance

  2. #2
    Join Date
    Oct 2004
    Location
    Los Angeles
    Posts
    77
    I just ran it this way:

    mount -t cifs -o user=[name],workgroup=[name] //server/f$ /mnt

    and it worked just fine.
    Fedora 14 x86_64
    HP xw4600 Workstation
    Core 2 Quad Q9550
    nVidia Quadro NVS
    HP L2445w

  3. #3
    Join Date
    Sep 2009
    Posts
    1
    I got the windows share names from,
    $smbclient -L //win_ip -U workgroup/win_user

    I tried the same, but below command is little more descriptive.
    $mount -t smbfs -o username=windows_username,password=windows_passwor d
    //vista_pc_name/share_name mount_folder_name

  4. #4
    Join Date
    Apr 2010
    Posts
    1

    Re: CIFS VFS: cifs_mount failed

    This might be related; Windows Server 2003 (Domain Controllers) SMB messages by default.
    http://support.microsoft.com/kb/887429

    (On Fedora 12 x86_64; samba-client-3.4.7-58)
    Mounting a share (or using smbclient) which was on an XP machine using credentials that were local to that machine worked.
    Attempting to mount a share (on a Windows Server 2003) using Domain credentials was failing.
    mount.cifs returned:
    mount error(13): Permission denied
    smbclient returned:
    session setup failed: NT_STATUS_LOGON_FAILURE
    /var/log/messages had:
    CIFS VFS: Unexpected SMB signature
    Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE

    Setting the Security mode option worked:
    mount.cifs //share_server_ip/shared_folder /mount_point -o username="domain_user_name",password="domain_user_password",domain="DomainName",sec=ntlmv2i

Similar Threads

  1. Replies: 3
    Last Post: 15th October 2009, 09:12 PM
  2. Replies: 6
    Last Post: 7th October 2008, 10:25 AM
  3. Replies: 1
    Last Post: 3rd July 2008, 09:13 PM
  4. cifs_mount failed w/return code = -22
    By wmoff in forum Using Fedora
    Replies: 17
    Last Post: 2nd January 2008, 08:40 PM
  5. Replies: 2
    Last Post: 30th June 2005, 05:31 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •