Proof AFS authentication

Hi,
I’ve been trying to run proof on a few computers with AFS authenticaion without success. The version of root and proof is v3.10.02.
In root I get:

[quote]gROOT->Proof(“xxxxxxxxx”)
Name (xxxxxxxxxxx:golpa): golpa
golpa@xxxxxxxxxxx password:
Info in TAuthenticate::Authenticate: failure: list of attempted methods: UsrPwd
Error in TSlave::TSlave: authentication failed for golpa@xxxxxxxxxxxxxxx
Error in TProof::Init: failed to connect to a PROOF master server
(class TVirtualProof*)0x899f8d8[/quote]

I checked the logs on the machine and I see the following message:

[quote]Apr 28 08:21:19 xxxxx proofd[10760]: RpdPass: AFS login failed for user golpa:
Apr 28 08:21:19 xxxxx proofd[10760]: RpdPass: Shadow passwd not available for user golpa
Apr 28 08:21:19 xxxxx proofd[10760]: RpdPass: invalid password for user golpa
Apr 28 08:21:19 xxxxx proofd[10760]: Authenticate: authentication stuff cleaned - exit
[/quote]

I have gotten proof to work with shadow authentication before but not with afs authentication.

Is there something I’m missing in the config files (like telling it what my AFS Cell is)?

I did a little debugging and found out that in afs authentication line (rpdutils/src/rpdutils.cxx) the function fails with code 180500 which is #defined as KANOCELLS.

Hi,

can you try with the latest version of ROOT v4. A number of things have changed in the authentication code.

Cheers, Fons.

Thanks. I downloaded, compiled and ran version 4.00.03.
The output is a bit different but the results are the same. In root I get

[quote]gROOT->Proof(“xxxxxxxxxxxx”)
golpa@xxxxxxxxxxxx password:
Info in TAuthenticate::Authenticate: failure: list of attempted methods: UsrPwd
Error in TSocket::Authenticate: authentication failed for golpa@xxxxxxxxxxxxxx
Error in TProof::Init: failed to connect to a PROOF master server
(class TVirtualProof*)0x8af3b28
[/quote]

The logs show the following

[quote]Apr 30 08:46:32 xxxx proofd[7414]: RpdPass: AFS login failed for user golpa:
Apr 30 08:46:32 xxxx proofd[7414]: RpdPass: Shadow passwd not available for user golpa
Apr 30 08:46:32 xxxx proofd[7414]: RpdPass: invalid password for user golpa
Apr 30 08:46:32 xxxx proofd[7414]: RpdAuthCleanup: cleanup (‘xxxxxxxxxxxxx’,7410) done
Apr 30 08:46:32 xxxx proofd[7414]: RpdAuthenticate: authentication stuff cleaned - exit
[/quote]

Again the error code returned is 180500 (KANOCELLS).

Hi,

Could you please try version 4.00.04 or the CVS head?
A bug in the AFS authentication was recently fixed; it affects versions 3.10.01 - 4.00.03 .

Cheers, Gerri

Hi,
I couldn’t compile the CVS head. Some xml .o file wasn’t created during compile. So I grabbed the 4.00.04 source and compiled it. Pretty much the same output
In root

[quote]root [0] gROOT->Proof(“xxxxxxxxx”)
golpa@xxxxxxxxxxxx password:
Info in TAuthenticate::Authenticate: no more methods accepted remotely to be tried
Info in TAuthenticate::Authenticate: failure: list of attempted methods: UsrPwd
Error in TSocket::Authenticate: authentication failed for golpa@xxxxxxxxxxxx
Error in TProof::Init: failed to connect to a PROOF master server
(class TVirtualProof*)0x8e9d098[/quote]

And then checking the logs I see

[quote]May 11 11:51:03 xxxx proofd[6269]: RpdCheckAuthAllow: tmet 0
May 11 11:51:07 xxxx proofd[6269]: RpdPass: AFS login failed for user golpa:
May 11 11:51:07 xxxx proofd[6269]: RpdPass: Shadow passwd not available for user golpa
May 11 11:51:07 xxxx proofd[6269]: RpdPass: invalid password for user golpa
May 11 11:51:07 xxxx proofd[6269]: RpdAuthenticate: authentication failed
[/quote]

I didn’t check the return code of the afs authentication function but I’m fairly certain it’s the same as in the previous ones.