Re: [OpenAFS] Where to put NetRestrict?

2006-09-26 Thread FB
Hi, On Tue, Sep 26, 2006 at 10:03:31AM +0200, Jakub Witkowski wrote: [snip] I have put NetRestrict in following locations: [snip] /etc/openafs/server-local This should be correct one. However, I had more success using 'NetInfo'. Put this file into /etc/openafs/server-local, add each IP,

RE: [OpenAFS] Where to put NetRestrict?

2006-09-26 Thread ted creedon
] On Behalf Of Jakub Witkowski Sent: Tuesday, September 26, 2006 2:59 AM To: FB Cc: openafs-info@openafs.org Subject: Re: [OpenAFS] Where to put NetRestrict? Dnia 26-09-2006, wto o godzinie 10:45 +0200, FB napisaƂ(a): [snip] /etc/openafs/server-local This should be correct one. However, I had

[OpenAFS] Where to put NetRestrict?

2006-09-26 Thread Jakub Witkowski
Hello, I remember this once mentioned on this list, but my recent experience shows this problem is still open: I have a server that usually has only one IP addres, a public one. Due to various outside conditions, I had to plug a crossover cable to another interface in that machine and assign it

RE: [OpenAFS] Where to put NetRestrict?

2006-09-26 Thread Jeffrey Hutzelman
On Tuesday, September 26, 2006 08:01:02 AM -0700 ted creedon [EMAIL PROTECTED] wrote: NetInfo works for dhcp assigned addresses if a shell script that creates the NetInfo file is used when afs is started or restarted upon detection of an IP address change. Of course dyndns or dhs has to be

Re: [OpenAFS] where to put NetRestrict?

2005-01-19 Thread Sergio Gelato
* Hagbard Celine [2005-01-17 13:51:48 +0100]: I thought too that /var/lib/openafs was the right guess, but seems that the Horst suggestion to strace fileserver was wise. In fact, from the strace: open(/etc/openafs/server-local/NetRestrict, O_RDONLY) = -1 ENOENT (No such fil e or

Re: [OpenAFS] where to put NetRestrict?

2005-01-19 Thread Derrick J Brashear
On Mon, 17 Jan 2005, Sergio Gelato wrote: Due to Debian's excessive reluctance to update the stable distribution with new versions of packages, vanilla 3.0r4 still has version 1.2.3 of openafs-fileserver (unchanged since 2002-08-03, and I think there have been security updates since then -- not to

Re: [OpenAFS] where to put NetRestrict?

2005-01-18 Thread Hagbard Celine
On Mon, 17 Jan 2005 14:54:35 +0100, Sergio Gelato [EMAIL PROTECTED] wrote: [...] I would not be too surprised to learn that the 1.2.3 build did indeed use /etc/openafs/server-local . Actually, I'm using version 1.3.74 from the experimental repository (1.3.74-1). It's not top notch but it's

Re: [OpenAFS] where to put NetRestrict?

2005-01-18 Thread Derrick J Brashear
On Tue, 18 Jan 2005, Hagbard Celine wrote: On Mon, 17 Jan 2005 14:54:35 +0100, Sergio Gelato [EMAIL PROTECTED] wrote: [...] I would not be too surprised to learn that the 1.2.3 build did indeed use /etc/openafs/server-local . Actually, I'm using version 1.3.74 from the experimental repository

[OpenAFS] where to put NetRestrict?

2005-01-17 Thread Hagbard Celine
Hello, This may sound silly, but where's the correct location on Debian where to put the NetRestrict file? I've looked at the source where I found that is the AFSDIR_LOCAL_DIR which is configured thru the parameter @afslocaldir which is /usr/afs/local or @{localstatedir}/openafs. The last

Re: [OpenAFS] where to put NetRestrict?

2005-01-17 Thread Horst Birthelmer
On Jan 17, 2005, at 12:23 PM, Hagbard Celine wrote: Hello, This may sound silly, but where's the correct location on Debian where to put the NetRestrict file? That's always a good question ... :-) The best solution is stracing the fileserver. You'll see the attempt to open the file and that's how

Re: [OpenAFS] where to put NetRestrict?

2005-01-17 Thread Christian Ospelkaus
/var/lib/openafs/NetRestrict Best regards, Christian On Jan 17, 2005, at 12:23 PM, Hagbard Celine wrote: Hello, This may sound silly, but where's the correct location on Debian where to put the NetRestrict file? That's always a good question ... :-) The best solution is stracing the

Re: [OpenAFS] where to put NetRestrict?

2005-01-17 Thread Hagbard Celine
Thanks Frank and Christian, I thought too that /var/lib/openafs was the right guess, but seems that the Horst suggestion to strace fileserver was wise. In fact, from the strace: open(/etc/openafs/server-local/NetRestrict, O_RDONLY) = -1 ENOENT (No such fil e or directory) Maybe this is a thing

Re: [OpenAFS] where to put NetRestrict?

2005-01-17 Thread Christian Ospelkaus
Am Montag, 17. Januar 2005 13:51 schrieb Hagbard Celine: Thanks Frank and Christian, I thought too that /var/lib/openafs was the right guess, but seems that the Horst suggestion to strace fileserver was wise. In fact, from the strace: open(/etc/openafs/server-local/NetRestrict, O_RDONLY) =

Re: [OpenAFS] where to put NetRestrict?

2005-01-17 Thread Sven Oehme
] Christian Ospelkaus [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 17/01/2005 15:02 To openafs-info@openafs.org cc Subject Re: [OpenAFS] where to put NetRestrict? Am Montag, 17. Januar 2005 13:51 schrieb Hagbard Celine: Thanks Frank and Christian, I thought too that /var/lib/openafs