[OpenAFS-devel] afs-newcell

kaushik1@illinois.edu kaushik1@illinois.edu
Fri, 1 May 2009 22:34:50 -0500 (CDT)


I have changed the host name and the domain name of my laptop.  Now, I need to change the realm of the Kerberos server.  However, I am unable to find a way to change the realm.  Simply changing the krb5.conf doesn't seem to work.  Any ideas?

Thanks,
Rini

---- Original message ----
>Date: Fri, 1 May 2009 20:14:37 +0100
>From: Simon Wilkinson <sxw@inf.ed.ac.uk>  
>Subject: Re: [OpenAFS-devel] afs-newcell  
>To: "<kaushik1@illinois.edu>" <kaushik1@illinois.edu>
>Cc: openafs-devel@openafs.org
>
>
>On 1 May 2009, at 19:19, <kaushik1@illinois.edu>  
><kaushik1@illinois.edu> wrote:
>
>> Hi All,
>>
>> I used afs-newcell.pl to set up a new cell from source code and I  
>> got the following error:
>>
>> debug: localhost.localdomain ip address is 127.0.0.1
>> error: Loopback address 127.0.0.1 cannot not be used for server  
>> localhost.localdomain. Check your /etc/hosts file.
>>
>> Is it not acceptable to use localhost.localdomain as the  
>> servername?  Also, I setup the Kerberos realm as LOCALDOMAIN and  
>> kerberos server as localhost.localdomain.  Is that OK?
>
>You need a 'real' network address. If, as I suspect, you're doing all  
>of this on a single machine which isn't connected to a real network,  
>then you can just use one of the addresses in the 192.168.x.x private  
>network range.
>
>If you're purely setting up Kerberos for the purposes of bringing up  
>an AFS cell on a single machine, then you'll probably get away with  
>the Kerberos realm being LOCALDOMAIN (you'll want to call your AFS  
>cell 'localdomain' too), but it's not generally recommended. Kerberos  
>can get upset if there isn't a working DNS system behind it.
>
>Cheers,
>
>Simon.