[OpenAFS] problems with openafs 1.2.5 on Linux 2.4.18 (debian woody)

Derrick J Brashear shadow@dementia.org
Fri, 12 Jul 2002 10:37:12 -0400 (EDT)


On Fri, 12 Jul 2002, Dr A V Le Blanc wrote:

> On Wed, 10 Jul 2002 13:47:05, Derrick J Brashear <shadow@dementia.org> wrote:
> > As to removing unused ones:
> > 
> > vos changeaddr -remove
> 
> This doesn't allow you to remove machines which are in the VLDB but
> no longer DNS registered.  Should one have to register old machines
> temporarily to delete them?  I tried putting one in /etc/hosts,
> but it's not enough.

It uses GetServer to get an address from the argument you give, which
tries first:
    code = sscanf(aname, "%d.%d.%d.%d", &b1, &b2, &b3, &b4);
    if (code == 4) {
        addr = (b1<<24) | (b2<<16) | (b3<<8) | b4;
        addr = ntohl(addr); /* convert to host order */

and then only 
    if (addr == htonl(0x7f000001)) {                /* local host */
       code = gethostname(hostname, MAXHOSTCHARS);

So what error do you get if you specify an IP address?