Proof authentification error

Hi, i’m trying to launch Proof but i have some problems during the authentification (so it seems to me…).
I can start root, but when i launch proof :
[color=red]gROOT->Proof(“localhost”) [/color]
i get the following errors.
[color=red]
Error in : server does not accept the requested authentication
method from this host or from user@host
Error in TSlave::TSlave: UidGid authentication failed for host localhost
Error in TProof::Init: failed to connect to a PROOF master server[/color]
I configured everything as written in the file PROOF.README. I’m actually using one machine as master and slave at the same time. And i have set the the proof.conf file.
where could i find the error?
thank you very much in advance.

root [5] gROOT->Proof(“localhost”)
Info in TPluginManager::FindHandler: found plugin for TProof
Warning in TProof::TProof: closing currently open PROOF session
Info in TAuthenticate::TAuthenticate: Enter: local host: matrix, user is: (proto: proof:7)
Info in TAuthenticate::TAuthenticate: service: proof (remote protocol: 7): fVersion: 2
Info in TAuthenticate::TAuthenticate: number of HostAuth Instantiations in memory: 1
Info in : enter … matrix …
Info in THostAuth::Print: Authenticate:GetHostAuth ±-----------------------------------------------------------------+
Info in THostAuth::Print: Authenticate:GetHostAuth + Host:matrix - User:sthoeba - # of available methods:1
Info in THostAuth::Print: Authenticate:GetHostAuth + Method: 5 (UidGid) Details:pt:0 ru:0 us:
Info in THostAuth::Print: Authenticate:GetHostAuth ±-----------------------------------------------------------------+
Info in TAuthenticate::Authenticate: enter: fUser:
Info in TAuthenticate::Authenticate: try #: 1
Info in THostAuth::GetDetails: 5: returning fDetails[0]: pt:0 ru:0 us:
Info in TAuthenticate::Authenticate: trying authentication: method:5, default details:pt:0 ru:0 us:
Info in TAuthenticate::SetEnvironment: setting environment: fSecurity:5, fDetails:pt:0 ru:0 us:
Info in TAuthenticate::SetEnvironment: details:pt:0 ru:0 us:, Pt:0, Ru:0, Us:
Info in TAuthenticate::SetEnvironment: UsDef:sthoeba
Info in TAuthenticate::RfioAuth: enter … User
Info in TAuthenticate::RfioAuth: sending … 502 100
Info in TAuthenticate::RfioAuth: sent … 8 bytes (expected > 7)
Info in TAuthenticate::RfioAuth: after kROOTD_RFIO: kind= 2011, stat= 22
Error in : server does not accept the requested authentication method from this host or from user@host
Info in TAuthenticate::Authenticate: got st=0: still 0 methods locally available
Error in TSlave::TSlave: UidGid authentication failed for host localhost
Error in TProof::Init: failed to connect to a PROOF master server

Dear Sthoeba,

Could you please specify which version of ROOT you are using?

Anyhow, your problem seems to be related to proofd access control list:
try adding the following line either to $ROOTSYS/etc/rpdauth.allow or
to $ROOTSYS/etc/system.rootdaemorc (depending on the version …):

localhost 5

If it still does not work, please do the following:

  1. run proofd in the foreground in a separate window, starting it with the command:
    proofd -d 3 -f -p 5555

  2. in your ROOT seesion start PROOF with
    gROOT->Proof(“localhost:5555”)

  3. Send the log messages you get from the proofd window

Gerri

Thanks for your response.
I’m using ROOT 3.10, could it be a problem related to the version?
i found neither rpdauth.allow nor system.rootdaemorc…
should i change the version?

Thanks again

Stefano & Barbara

[quote=“ganis”]Dear Sthoeba,

Could you please specify which version of ROOT you are using?

Anyhow, your problem seems to be related to proofd access control list:
try adding the following line either to $ROOTSYS/etc/rpdauth.allow or
to $ROOTSYS/etc/system.rootdaemorc (depending on the version …):

localhost 5

If it still does not work, please do the following:

  1. run proofd in the foreground in a separate window, starting it with the command:
    proofd -d 3 -f -p 5555

  2. in your ROOT seesion start PROOF with
    gROOT->Proof(“localhost:5555”)

  3. Send the log messages you get from the proofd window

Gerri[/quote] :frowning: :frowning: :smiley:

Dear Stefano & Barbara,

I am sorry, the previous name for the access control file was $ROOTSYS/etc/daemon.access (not rpdauth.allow). Can you find it?

About upgrading: that’s always advised, if not too complicated.
You are probably using development version 3.10/01 which was issued in the middle of several changes happening in this part of the code.

Gerri

Hello Stefano & Barbara,

I don’t know what authentication method you prefer, but I suggest UsrPwd.
To set this write in daemon.access the line:

default 0

So every host you use can be authenticated by Username/Password.
It’s possible to pu this file in your $HOME directory, but I don’t know if you must rename it here
(to .daemonaccess or something like that).

The file system.rootrc can also be copied into your $HOME dir and renamed into .rootrc.
In this file you can change the authentication methods for the client and the authentication process can be defined.

UsrPwd.Login: (uour username)

To be prompted for login information

UsrPwd.LoginPrompt: no

To reuse established security context

#UsrPwd.ReUse: yes

To control password encryption for UsrPwd authentication

UsrPwd.Crypt: yes

If you need more support just write a note.

Cheers Carsten.