Page 1 of 1

mount cifs Permission denied

Posted: 19 Mar 2014, 18:07
by mleonid2000
Hi
Since sysrcd 4.0.0 i tried to mount network share mount -t cifs //xxxx/xxxx /mnt/backup
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs).
But, when i boot altkern and try to mount same share it was success.
This problems start between versions 3.7.1 and 4.0.0. I don't remember exactly.

p.s. i try mount -t cifs //xxxx/xxxx /mnt/backup -o username=xxx, password=xxx, workgroup=mshome
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs).

cat /var/log/messages
Mar 19 17:34:50 sysresccd kernel: [ 470.317570] CIFS VFS: Send error in SessSetup = -13
Mar 19 17:34:50 sysresccd kernel: [ 470.318391] CIFS VFS: cifs_mount failed w/return code = -13

my share server debian wheezy 7
smb.conf

Code: Select all

[global]
        workgroup = MSHOME
        server string = %h server
        security = SHARE
        map to guest = Bad User
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        idmap config * : backend = tdb

[homes]
        comment = Home Directories
        valid users = %S
        create mask = 0700
        directory mask = 0700
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        print ok = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[storage]
        path = /media/storage
        read only = No
        guest ok = Yes

[expansiondrive]
        path = /media/expansiondrive
        read only = No
        guest ok = Yes

samba log
[2014/03/19 21:55:11.382086, 0] smbd/sesssetup.c:1343(reply_sesssetup_and_X)
reply_sesssetup_and_X: Rejecting attempt at SPNEGO session setup when it was not negotiated.

Re: mount cifs Permission denied

Posted: 14 Feb 2017, 07:56
by Morjones
mleonid20e00 wrote:Hi
Since sysrcd 4.0.0 i tried to mount network share mount -t cifs //xxxx/xxxx /mnt/backup
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs).
But, when i boot altkern and try to mount same share Wartrol as it was success.
This problems start between versions 3.7.1 and 4.0.0. I don't remember exactly.


I get mount error(13): Permission denied as well.