mount -t cifs permission denied by mount -t smbfs works fine

  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Posts: 300

Post 3+ Months Ago

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access.

Code: [ Select ]
# mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

==> /var/log/messages <==
Sep 1 16:43:25 clientname Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Sep 1 16:43:25 clientname CIFS VFS: Send error in SessSetup = -13
Sep 1 16:43:25 clientname CIFS VFS: cifs_mount failed w/return code = -13

# mount -t smbfs //servername/sharename /mnt/temp -o password=""
Anonymous login successful
  1. # mount -t cifs //servername/sharename /mnt/temp -o password=""
  2. mount error 13 = Permission denied
  3. Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
  4. ==> /var/log/messages <==
  5. Sep 1 16:43:25 clientname Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
  6. Sep 1 16:43:25 clientname CIFS VFS: Send error in SessSetup = -13
  7. Sep 1 16:43:25 clientname CIFS VFS: cifs_mount failed w/return code = -13
  8. # mount -t smbfs //servername/sharename /mnt/temp -o password=""
  9. Anonymous login successful


I can then read and write files in /mnt/temp over smbfs but I cannot even mount it using cifs, but there are other cifs filesystems from other samba servers that mounted fine on this machine. I have the same problem mounting this one share from all linux boxen... but those same linux boxen can mount cifs shares from other machines just fine.

Any ideas why?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

http://www.samba.org/samba/docs/man/man ... ifs.8.html

It sounds like a permissions problem. Read the last line in the second paragraph under description.
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Posts: 300

Post 3+ Months Ago

You mean mount.cifs permissions?

I am running this as root as implied by the # prompt at the beginning of the command line so permissions on the binary shouldn't be an issue.
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

http://groups.google.com/group/linux.de ... d9def207c7


I also searched Google for code returned 0xc000006d. That's one of the hits.
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Posts: 300

Post 3+ Months Ago

Seems like a different issue to me, I don't have a problem with a mounted cifs share, it won't mount at all when trying cifs, but works alright when using smbfs...
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Posts: 3318
  • Loc: Trout Creek, MT

Post 3+ Months Ago

If smbfs works, why not just use that?
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Posts: 300

Post 3+ Months Ago

smbfs is deprecated, not available on all systems and it is buggy and occasionally fails to list directory contents or get access to a file whereas cifs has no such problems... if you can get it to mount.
  • gutherzig
  • Born
  • Born
  • gutherzig
  • Posts: 1

Post 3+ Months Ago

humbletech99 wrote:
I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access.

Code: [ Select ]
# mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

==> /var/log/messages <==
Sep 1 16:43:25 clientname Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Sep 1 16:43:25 clientname CIFS VFS: Send error in SessSetup = -13
Sep 1 16:43:25 clientname CIFS VFS: cifs_mount failed w/return code = -13

# mount -t smbfs //servername/sharename /mnt/temp -o password=""
Anonymous login successful
  1. # mount -t cifs //servername/sharename /mnt/temp -o password=""
  2. mount error 13 = Permission denied
  3. Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
  4. ==> /var/log/messages <==
  5. Sep 1 16:43:25 clientname Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
  6. Sep 1 16:43:25 clientname CIFS VFS: Send error in SessSetup = -13
  7. Sep 1 16:43:25 clientname CIFS VFS: cifs_mount failed w/return code = -13
  8. # mount -t smbfs //servername/sharename /mnt/temp -o password=""
  9. Anonymous login successful


I can then read and write files in /mnt/temp over smbfs but I cannot even mount it using cifs, but there are other cifs filesystems from other samba servers that mounted fine on this machine. I have the same problem mounting this one share from all linux boxen... but those same linux boxen can mount cifs shares from other machines just fine.

Any ideas why?



I was there too, but it's solved since specifying the workgroup as following eg. :

mount -t cifs //servername/sharename /mnt/temp -o username=Administrator,password=foobar2009,workgroup=OFFICENET


Good luck.

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 78 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.