× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Error ReadyNas 212 for create mount cifs

vov1969
Aspirant

Error ReadyNas 212 for create mount cifs

Hello, everyone!

I'm trying to mount a folder on the NAS to the server Ubuntu.

I write:

"sudo mount.cifs //192.168.2.43/php_backup /mnt/php/ -o noperm user=myuser" or "sudo mount.cifs //192.168.2.43/php_backup /mnt/php/ -o rw user=myuser". I'm asking for a password: "Password for root@//192.168.2.43/php_backup:",
I write the password from the root user, with it I can log in SSH, but error "mount error(13): Permission denied". In log has "[2023/05/16 14:09:07.317888, 2] ../source3/auth/auth.c:332(auth_check_ntlm_password)
check_ntlm_password: Authentication for user [backup] -> [backup] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1". What am I doing wrong?

 

 

Message 1 of 7
StephenB
Guru

Re: Error ReadyNas 212 for create mount cifs


@vov1969 wrote:

 

"sudo mount.cifs //192.168.2.43/php_backup /mnt/php/ 


Try this 

 

sudo mount.cifs -o username=admin //192.168.2.43/php_backup /mnt/php/ 

If this works, then you can try other user accounts.

 

Message 2 of 7
vov1969
Aspirant

Re: Error ReadyNas 212 for create mount cifs

myuser@ubntSRV:~$ sudo mount.cifs -o user=admin //192.168.2.20/BackUpPhP /mnt/php/
Couldn't chdir to //192.168.2.20/BackUpPhP: No such file or directory

Message 3 of 7
StephenB
Guru

Re: Error ReadyNas 212 for create mount cifs


@vov1969 wrote:

Couldn't chdir to //192.168.2.20/BackUpPhP: No such file or directory


Did you run chdir after the mount command? 

 

Assuming you did: you mounted to /mnt/php, so you'd need to chdir to there.

Message 4 of 7
vov1969
Aspirant

Re: Error ReadyNas 212 for create mount cifs

I don't run chdir. When I run -o before "//192.168...  /mnt/...", it is "Couldn't chdir to //192.168.2.20/BackUpPhP: No such file or directory", and when I run -o after "192.168...  /mnt/..." it's all right.

Message 5 of 7
StephenB
Guru

Re: Error ReadyNas 212 for create mount cifs


@vov1969 wrote:

 and when I run -o after "192.168...  /mnt/..." it's all right.


Except you can't access the folder.  FWIW, when I put the user name at the end, I also can't access the folder.  No idea why.

 

But when I use the syntax I posted, I do have access to it.

 

Note, I am not running ubuntu.  I tested out the command using another ReadyNAS  - the share is on my RN102, the mount was done on an RN526x.

Message 6 of 7
vov1969
Aspirant

Re: Error ReadyNas 212 for create mount cifs

I have Ubuntu 14.04.

Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 574 views
  • 0 kudos
  • 2 in conversation
Announcements