Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba over nfs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chammer
n00b
n00b


Joined: 19 May 2003
Posts: 43
Location: Newport News, VA

PostPosted: Thu Aug 10, 2006 2:09 pm    Post subject: samba over nfs? Reply with quote

i've recently added a new machine to the land that i want to act as a fileserver "hub" of sorts. i have nfs exports going into this machine from a single linux box, and samba shares coming into this machine from two windows machines.

i currently have something like: /home/nfs/<machine name>

this is for both the linux and windows shares, so that everything is under a central main directory.

now, my goal is to be able to add /home/nfs to /etc/exports, and share out all the network shares from this machine, to the other machines on the lan.

the problem im having though, is for the samba shares (when added to /etc/exports), return the following error:

Aug 9 18:32:13 XXX rpc.mountd: authenticated mount request from XXX:909 for /home/nfs/XXX (/home/nfs/XXX)
Aug 9 18:32:13 XXX rpc.mountd: getfh failed: Operation not permitted

this seems to point to either a configuration issue, or built-in security measure that im unaware of.

is what im trying to do possible, or am i stuck doing this for now? eventually im going to be implementing a real file server for my local lan, but until i can do that and centrally locate my data...im forced to split it up to various machines for the time being due to space issues.

just looking for any hints as i've been unable to find anything via google.

one more quick question too... my windows mounts are mounted like:
//XXX/XXX on /home/nfs/XXX type cifs (rw,mand)

...any clues as to what the 'mand' option is? it added that by default.

thanks.
_________________
http://www.thezengarden.net
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' |dc
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Thu Aug 10, 2006 11:20 pm    Post subject: Re: samba over nfs? Reply with quote

chammer wrote:
the problem im having though, is for the samba shares (when added to /etc/exports), return the following error:

Aug 9 18:32:13 XXX rpc.mountd: authenticated mount request from XXX:909 for /home/nfs/XXX (/home/nfs/XXX)
Aug 9 18:32:13 XXX rpc.mountd: getfh failed: Operation not permitted

this seems to point to either a configuration issue, or built-in security measure that im unaware of.

Check /etc/exports for invalid host names, then restart the nfs server.
chammer wrote:
one more quick question too... my windows mounts are mounted like:
//XXX/XXX on /home/nfs/XXX type cifs (rw,mand)

...any clues as to what the 'mand' option is? it added that by default.

thanks.


From man 8 mount:
Quote:
mand
Allow mandatory locks on this filesystem. See fcntl(2).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum