Hi,
The error message is wrong, check the output of
TAuthenticate::GetAuthInfo()->Print()
and you should see that the username used for UsrPwd is 'alvesan'. But it fails, so you should check on the server side why.
This said, I really discourage you to develop a solution with 'rootd' as server. It is not really maintained
any longer and there is nothing that cannot be done with a simple 'xrootd' server.
G. Ganis
On 2/23/12 6:18 PM, Antonio Augusto Alves Junior wrote:
> Dear Rooters,
>
> Root seems be ignoring the login settings to access remote files
> served by rootd. Please have a look at the below lines:
>
>
> root [0] TAuthenticate::SetGlobalUser("alvesan") ;
> root [1]
> TFile::Open("rootd://beauty.roma1.infn.it:1094//sw/pool/proofbox/alvesan/session-beauty-1330015179-27119/master-0-beauty-1330015179-27119/Ntuple.root")
> Info in <TAuthenticate::Authenticate>: failure: list of attempted
> methods: UsrPwd
> Error in <TAuthenticate::Authenticate>: no such user (last error
> only; re-run with gDebug > 0 for more details)
> Error in <Authenticate>: authentication failed for
> augalves_at_beauty.roma1.infn.it
> Error in <TPSocket::Authenticate>: authentication attempt failed
> for @beauty.roma1.infn.it
> Error in <TFTP::TFTP>: can't open connection to rootd on host
> beauty.roma1.infn.it at port 1094
> Info in <TAuthenticate::Authenticate>: failure: list of attempted
> methods: UsrPwd
> Error in <TAuthenticate::Authenticate>: no such user (last error
> only; re-run with gDebug > 0 for more details)
> Error in <Authenticate>: authentication failed for
> augalves_at_beauty.roma1.infn.it
> Error in <TPSocket::Authenticate>: authentication attempt failed
> for @beauty.roma1.infn.it
> Error in <TNetFile::TNetFile>: can't open connection to rootd on
> host beauty.roma1.infn.it at port 1094
> Error in <TNetFile::Create>: authentication attempt unsuccessful
> Error in <TNetFile::Create>: failing on file
> rootd://beauty.roma1.infn.it//sw/pool/proofbox/alvesan/session-beauty-1330015179-27119/master-0-beauty-1330015179-27119/Ntuple.root
> (class TFile*)0x0
>
>
> Here is the .rootrc in my $HOME
>
> Rootd.Authentication 0
> UsrPwd.Login: alvesan
>
> Please, someone could help me?
> Thanks
>
> A.A.
Received on Fri Mar 09 2012 - 19:04:21 CET
This archive was generated by hypermail 2.2.0 : Fri Mar 09 2012 - 23:50:01 CET