Re: [arch-general] Permission Denied cifs mount

2013-04-01 Thread Squall Lionheart
>
> Try adding sec=ntlm
>
> Linux has recently switched the default to ntlm3 and afaik guests don't
> work with that. Might also be a samba issue, no idea.
>
>

This fixed the problem for me.  Mounts work again.

Thanks
Squall


Re: [arch-general] Permission Denied cifs mount

2013-04-01 Thread Guillermo Leira


> -Mensaje original-
> De: arch-general [mailto:arch-general-boun...@archlinux.org] En nombre de
> Squall Lionheart
> Enviado el: viernes, 29 de marzo de 2013 19:36
> Para: General Discussion about Arch Linux
> Asunto: [arch-general] Permission Denied cifs mount
> 
> Hello,
> 
> I perform pacman -Suy updates each Monday on my system and ever since the
> 25th, I have not been able to mount shares from a local Samba server.  My
> mount.cifs binary has the setuid bit and the mountpoint I am trying to
> mount to has permissions of 770 with owner and group set to my users.  I
> have tried mounting manually as both my user and root and get the same
> error.  The response from attempting to mount is:
> 
> # mount -t cifs //sambaserver/Music Music
> mount error(13): Permission denied
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> 
> The entries I have in /etc/fstab look like:
> 
> //sambaserver/Music/mnt/sambaserver/Music   cifs
> rw,users,guest,noauto,uid=1000,gid=100  0   0
> 
> I am able to see information regarding the shares using the smbclient -L
> option.  The server is a Slackware server running samba-3.5.8.  Local
> device mounting, such as usb drives and local HD devices mount fine.
> 
> The samba and smbclient packages were updated from 3.6.12-2 to 3.6.13-1.
> Currently running Linux 3.8.4-1 and systemd 198-1.
> 
> Any suggestions to get this working again would be greatly appreciated.
> Let me know if any additional information is needed.
> 
> Thank you in advance
> Squall
> 

I'm having a similar problem: I can mount cifs shares from Windows Servers,
but can't mount from an old Acer NAS. It reports that is using
Server=[Samba 3.0.20a-fs9]

Hmmm... I have found this: https://bbs.archlinux.org/viewtopic.php?id=159915

It works for me. I don't understand the security implications.

Best Regards,

Guillermo Leira




Re: [arch-general] Permission Denied cifs mount

2013-03-30 Thread Florian Pritz
On 29.03.2013 19:35, Squall Lionheart wrote:
> Hello,
> 
> I perform pacman -Suy updates each Monday on my system and ever since the
> 25th, I have not been able to mount shares from a local Samba server.  My
> mount.cifs binary has the setuid bit and the mountpoint I am trying to
> mount to has permissions of 770 with owner and group set to my users.  I
> have tried mounting manually as both my user and root and get the same
> error.  The response from attempting to mount is:
> 
> # mount -t cifs //sambaserver/Music Music
> mount error(13): Permission denied
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> 
> The entries I have in /etc/fstab look like:
> 
> //sambaserver/Music/mnt/sambaserver/Music   cifs
> rw,users,guest,noauto,uid=1000,gid=100  0   0

Try adding sec=ntlm

Linux has recently switched the default to ntlm3 and afaik guests don't
work with that. Might also be a samba issue, no idea.




signature.asc
Description: OpenPGP digital signature