CIFS authentication failure when mounting DFS shares

Solution Unverified - Updated -

Issue

  • Error message "Permission denied" is returned when attempting to mount a DFS share from a Windows Active Directory domain:
# mount --verbose -t cifs //my_domain.com/DFS_root/dirA/dirB/dirC /mnt/my_mountpoint -o user=my_username,domain=MYDOMAIN,sec=ntlmi  
Password:  

 mount.cifs kernel mount options: unc=//my_domain.comDFS_root,ip=1.2.3.4,ver=1,rw,user=my_username,domain=MYDOMAIN,sec=ntlmi,prefixpath=dirA/dirB/dirC,pass=********  
 mount error 13 = Permission denied  
 Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
  • The CIFS kernel module complains about unexpected SMB signatures:
 Nov  7 13:54:32 <kern.err> my_hostname kernel:  CIFS VFS: Unexpected SMB signature  
 Nov  7 13:54:32 <kern.notice> my_hostname kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE  
 Nov  7 13:54:32 <kern.err> my_hostname kernel:  CIFS VFS: Send error in SessSetup = -13  
 Nov  7 13:54:32 <kern.err> my_hostname kernel:  CIFS VFS: cifs_mount failed w/return code = -13

Environment

  • Red Hat Enterprise Linux 5
  • kernel version 2.6.18-274.12.1.el5
  • samba-client version 3.0.33-3.29.el5_6.2

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