I set up OpenSuse a few days ago and all seemed well until I found I can’t write to shares on my NAS drives, I can see them and read or copy files but I can’t write to the drives. My credentials are good on both NAS drives so it’s probably a setting probably in Samba but I can’t find it.
I receive a message - Access Denied when I try to write.
I can connect with Dolphin or Konqueror quite easily and I have write permissions on both NAS drives, I’ve used the same Username/password through out, both on the drives and on my OpenSuse box. I am the administrator on Suse.
enter the following commands:
**(make sure you are root)
**mount -t cifs //[NAS name]/[share name] /mnt -o user=[username] --verbose
**(you will be asked for your password)
**(should write an empty file named xxx to your share)
=> So we can get closer to the layer where your problem lives
I think you got the previous posting wrong. The last comment was just about how one would obtain a root shell properly. You don’t need to worry about Ubuntu at all. Both methods will yield you a root shell. I suggest you enter the commands
mount -t cifs //[NAS name]/[share name] /mnt -o user=[username] --verbose
and tell us what happens.
[NAS name] should be replaced by the name or IP address of your NAS box
[share name][FONT=arial] should be replaced by the share’s name on your NAS box
[/FONT][username][FONT=arial] should be replaced by your user name on that NAS box[/FONT]
Sorry for misundersanding.
I have no problems with my NAS thanks to this forum.
From “Control Panel” I make any changes I want.
I tried to help @Aamcle. I thought that if he has a Qnap (Synology) he can enter in “Control Panel” and …
Despite being a client issue, there may be a ‘smb.conf’ issue here:
Does “testparm” (may be executed with a “normal” user) indicate any issues with ‘smb.conf’?
Your ‘smb.conf’ doesn’t seem to have the [global] tag “client max protocol = SMB3”.
Can you connect to the NAS servers by means of the CLI command “smbclient” and, can you “put” a local file to the SMB/CIFS server?
[HR][/HR]BTW, I prefer to connect to NAS boxes from a Linux box by means of (auto-mount) NFS – it works reliably and more (Linux) naturally than via Redmond’s protocols and, these days, many NAS boxes are in fact Linux boxes (running a Samba server for the Redmond world) … >:)