How to mount NAS by NFS with username and password

TELLO

n3wb
Joined
Oct 21, 2014
Messages
19
Reaction score
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
 

craigspc

Young grasshopper
Joined
Oct 28, 2014
Messages
31
Reaction score
17
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
 

TELLO

n3wb
Joined
Oct 21, 2014
Messages
19
Reaction score
0
I don't get it to run.
Is there anybody ho know how to do this?

TELLO
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,326
Reaction score
5,325
Location
Denver, CO
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..
 

TELLO

n3wb
Joined
Oct 21, 2014
Messages
19
Reaction score
0
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
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,326
Reaction score
5,325
Location
Denver, CO
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.
 
Top