[OpenAFS] Unable to authenticate to AFS because no such entry
Pieter-Paul Giesberts (ELN)
Pieter-Paul.Giesberts@eln.ericsson.se
Tue, 26 Jun 2001 10:55:29 +0200
Hmm did what you recommended, do I shutdown afs, deleted all database files and rebooted. All users were gone. I created 1 user again in kas, bos and pts (like in the manual). I made sure this was the only user and that all settings were rcorrect. If I try to 'klog' I once again get the same error. Perhaps it's not an authentication problem, because I found this similar problem as well:
If I run 'vos listvol <server>' I get a number of volumes I created (with the localauth switch), amongst which are root.afs and root.cell. All these volumes are empty as I have never been able to enter the /afs directory.
However, if I run 'vol listvldb <server>' it says: 'VLDB: no such entry'!
If I now run 'vol syncvldb ...' and 'vol syncserv ...' it does show the volumes, adds them to vldb, says they are sync-ed but if I run 'vol listvldb <server>' it says: 'VLDB: no such entry' again. What is going on here?
My VLLog file looks normal: 2 entries, 1 says which IP address is used as primary address, the other says 'starting AFS vlserver 4'
My VolserLog looks normal as well.
Pieter-Paul
-----Original Message-----
From: Derek Atkins [mailto:warlord@MIT.EDU]
Sent: Monday, June 25, 2001 5:02 PM
To: Pieter-Paul Giesberts (ELN)
Cc: 'openafs-info@openafs.org'
Subject: Re: [OpenAFS] Unable to authenticate to AFS because no such
entry
No, these are both correct.
I have no idea what's going on. You might try over from scratch
again. Delete all your DB files and start from a clean slate.
-derek
"Pieter-Paul Giesberts (ELN)" <Pieter-Paul.Giesberts@eln.ericsson.se> writes:
> The local cell is equal to that in the server file (I remember simply copying it).
> The DB server file looks like this (only 1 server so far):
> ><cellname> #cell name
> <ipadress> #<servername>
>
> Is the '>' before the cellname the problem or should it be there? (I created the file using bos, so I think it's correct)
>
> Pieter-Paul
>
> -----Original Message-----
> From: Derek Atkins [mailto:warlord@MIT.EDU]
> Sent: Monday, June 25, 2001 4:02 PM
> To: Pieter-Paul Giesberts (ELN)
> Cc: 'openafs-info@openafs.org'; 'Neulinger, Nathan'; 'Hartmut Reuter'
> Subject: Re: [OpenAFS] Unable to authenticate to AFS because no such
> entry
>
>
> "Pieter-Paul Giesberts (ELN)" <Pieter-Paul.Giesberts@eln.ericsson.se> writes:
>
> > * In kas I have 3 users:
> > "afs", which key matches the 'bos listkey'
> > "admin", with ADMIN flag set
> > "root", with ADMIN flag set
> > * I added both admin and root to bos with 'adduser', so when I type bos listusers it returns: "SUsers are: admin root"
> > * 'bos listkey' returns the same key as 'examine afs' in kas
> > * In pts I added both admin (with ID 7, because I retried deleting and adding it several times) and root (with ID 1), both are member of the system:administrators group.
>
> This looks fine.
>
> > Still, when I try 'klog admin' or 'klog root' I get the error message!
> > Should the admin and root ID's be the same as those from the /etc/passwd file?
>
> No. There is no need (practically) for the IDs to match. It should work
> fine without it.
>
> Oh, one other question: What is the local cell, as listed in
> /usr/vice/etc/ThisCell? Is that correct, and is it what your
> servers think they are (/usr/afs/etc/ThisCell)? Similarly,
> are the right DB servers listed in /usr/vice/etc/CellServDB?
>
> -derek
>
> > Pieter-Paul
> >
> > BTW: I run Solaris 8 on a Sparc Server 20.
> >
> > -----Original Message-----
> > From: Derek Atkins [mailto:warlord@MIT.EDU]
> > Sent: Monday, June 25, 2001 2:57 PM
> > To: Pieter-Paul Giesberts (ELN)
> > Cc: 'openafs-info@openafs.org'; 'Neulinger, Nathan'; 'Hartmut Reuter'
> > Subject: Re: [OpenAFS] Unable to authenticate to AFS because no such
> > entry
> >
> >
> > You need at least TWO keys in KAS:
> >
> > "afs", which should match the 'bos setkey'
> > <user>, which should not be anywhere else.
> >
> > <user> should also be in PTS ("afs" doesn't have to be, IIRC).
> >
> > You should never 'klog afs'. You should 'klog <user>'.
> >
> > -derek
> >
> > "Pieter-Paul Giesberts (ELN)" <Pieter-Paul.Giesberts@eln.ericsson.se> writes:
> >
> > > Yep,
> > >
> > > The user(s) exist; kas and pts don't report any problems.
> > >
> > > I added the entries to the system:administrators group and set the ADMIN flags. I can examine (kas) and check the membership (pts) without any problems.
> > >
> > > I also have an afs entry in kas, with a correct key (equal to that of bos listkey)
> > >
> > > But I still get the 'no such entry' error. I also can't do 'ls /afs' because for this 'permission is denied'. This is probably related?!
> > >
> > > Pieter-Paul
> > >
> > > -----Original Message-----
> > > From: Derek Atkins [mailto:warlord@MIT.EDU]
> > > Sent: Friday, June 22, 2001 8:43 PM
> > > To: Pieter-Paul Giesberts (ELN)
> > > Cc: 'openafs-info@openafs.org'
> > > Subject: Re: [OpenAFS] Unable to authenticate to AFS because no such
> > > entry
> > >
> > >
> > > Is there an entry in the PTServer for the particular user?
> > > Is there an entry in the KAServer for the particular user?
> > >
> > > -derek
> > >
> > > "Pieter-Paul Giesberts (ELN)" <Pieter-Paul.Giesberts@eln.ericsson.se> writes:
> > >
> > > > Hi,
> > > >
> > > > can someone explain to me why I get this message when I try to do klog?
> > > > "Unable to authenticate to AFS because no such entry"
> > > >
> > > > It's not that my password is incorrect because if I use a wrong password I get
> > > > "Unable to authenticate to AFS because password was incorrect"
> > > >
> > > > I've completed all steps from the Quick Beginnings Guide in order to create a user (multiple times) and now I can't authenticate, which means that in order to make any adjustments I have to create the NoAuth file. Can someone help me, because I'm at a loss here...
> > > >
> > > > Thanks,
> > > >
> > > > Pieter-Paul Giesberts.
> > > > _______________________________________________
> > > > OpenAFS-info mailing list
> > > > OpenAFS-info@openafs.org
> > > > https://lists.openafs.org/mailman/listinfo/openafs-info
> > >
> > > --
> > > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > > Member, MIT Student Information Processing Board (SIPB)
> > > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > > warlord@MIT.EDU PGP key available
> >
> > --
> > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > Member, MIT Student Information Processing Board (SIPB)
> > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > warlord@MIT.EDU PGP key available
>
> --
> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> Member, MIT Student Information Processing Board (SIPB)
> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> warlord@MIT.EDU PGP key available
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available