Subject: Re: [netatalk-admins] how to force the zone of afpd
From: Andrew Morgan (morgan@orst.edu)
Date: Fri Nov 12 1999 - 11:43:48 EST
On Fri, 12 Nov 1999, Jean Richelle wrote:
> The afpd server shows up in a given zone that is not the one we use for
> the Mac in our group. How to change it ?
> I tried editing the atalkd.conf leaving only the desired target zone, but
> when atalkd is restarted it recreates automatically the file with other
> zones and the desired one in third position. I tried also stoping afpd
> and relaunching it withe "-n ulb.sc.ucmb" but then the afpd server
> appears as "ulb.sc.ucmb" in the other zone ! Note that I am running my
> server in order to have AppleShareIP services.
You were close to right. Use afpd with "-n @other_zone". From the
nbp_name man page:
The argument of afpd(8)'s -n option is parsed with
nbp_name(). The default value of obj is the first compo-
nent of the machine's hostname (as returned by gethostby-
name(3)). The default value of type is ``AFPServer'', and
of zone is ``*'', the default zone. To cause afpd to reg-
ister itself in some zone other than the default, one
would invoke it as
afpd -n @some-other-zone
obj and type would retain their default values.
Enjoy...
Andy
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:17:25 EST