How to mount NAS by NFS with username and password

TELLO

n3wb
Oct 21, 2014
19
0
Hi NG,

i hope somebody was doing this before.
I have older firmware on my cam OEM and i can not update to connect the NAS with SMB/CIFS. But i know there must be a way to put username and password in to the path.
But there are different ways and i don't get it to run.

Is there anybody ho know how to do this? Like:

Code:
/my_folder /mnt -o username=my_username,password=my_password  0 0

Thanks TELLO
 
Hello again Tello,

Following on from our other discussion... don't you need to include something like cifs in the line?

For example:


Server: //servername/sharename

Path: /folder/mountname cifs username=myusername,password=mypassword 0 0.

I really wish I could remember how this worked. Sorry I can't provide a definite answer.

Regards,
Craig
 
You cant do it, remove the login and restrict access to the share by Host/IP.

Authentication for NFS is handled externally, you'd have to issue something like: nfslogin -u username -p password before mounting the share..
 
You cant do it, remove the login and restrict access to the share by Host/IP.

Authentication for NFS is handled externally, you'd have to issue something like: nfslogin -u username -p password before mounting the share..

But i have to give the cam a special user, because of the limited share space of the NAS. I i do it your way, the cam admin calculate the whole space of the NAS and there are more user, so it will not work.
Participation for the cam is not working on this NAS.

So i what to send the cifs information user and password - because i think its the only way.

TELLO
 
cifs is not nfs, that wont change a thing.

you have to create a volume specifically for each camera and map them to different shares, so they each have there own storage space.