Translated message

A translation of this page exists in English.

CIFS パーミッションの拒否または "cifs_mount failed w/return code = -13" エラーの診断

Solution Verified - Updated -

Issue

  • 以下のように、CIFS 共有を手動でマウントしようとします。

    [root@flandre-examplebox ~]# mount -t cifs -o credentials=/etc/user-file //remilia-examplebox/  pachiouli /knowledge
    mount error(13): Permission denied
    
  • mount -a/etc/fstab を使用してマウントする場合も失敗します。

    [root@flandre-examplebox ~]# mount -a
    mount error(13): Permission denied
    
  • マウントを試行すると、次のメッセージが /var/log/messages に表示されます。

    Aug  9 22:39:39 flandre-examplebox kernel: Status code returned 0xc000006d  NT_STATUS_LOGON_FAILURE
    Aug  9 22:39:39 flandre-examplebox kernel: CIFS VFS: Send error in SessSetup = -13
    Aug  9 22:39:39 flandre-examplebox kernel: CIFS VFS: cifs_mount failed w/return code = -13
    
  • 詳細なマウントコマンドの出力に、Credential formatted incorrectly: (null) エラーが表示されます。

    [root@flandre-examplebox ~]# mount -vvv -t cifs -o credentials=/etc/user-file //remilia-  examplebox/pachiouli /knowledge
    ----8<---- (output trimmed)
    Credential formatted incorrectly: (null)
    mount.cifs kernel mount options: ip=123.123.123.123,unc=\\remilia-  examplebox\pachiouli,credentials=/etc/user- file,ver=1,user=USER,domain=DOMAIN,prefixpath=DOMAIN/USER,pass=********
    mount error(13): Permission denied
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • さまざまなタイプの CIFS サーバー

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content