Re: [ROOT] Username always asked by rootd

From: Gerardo Ganis (Gerardo.Ganis@cern.ch)
Date: Tue May 04 2004 - 15:01:23 MEST


  Hi Birger,
 
  I think your problem comes from the fact you are asking
  for SRP authentication (protocol "roots:// ..."). 
  You should not get prompt if just use "root://...", ie

     TFTP service("root://koblitz@lxn5222:5151");

  Cheers,

  Gerri


On Tue, 4 May 2004, Birger Koblitz wrote:

> Hi Fons,
>   
> I am using the following script to do a test-transmssion via rootd:
> // Macro to test ftp via rootd
> {
>   TFTP service("roots://koblitz@lxn5222:5151");
>   if(! service.IsOpen())
>     exit 0;
> //  service.ListDirectory();
>   service.get("//pool/koblitz/dstarmb.root", "/tmp/dstar.root");
> } 
>   
> The authentication is done via ssh which uses the CERN-AFS-token to login 
> automatically, this works. The problem is, that I have to always confirm 
> my user-name:
> root [0] .x rftp.C 
> Name (lxn5222.cern.ch:koblitz): 
> Error in <TAuthenticate::Authenticate>: no support for SRP authentication 
> available
> <TFTP::GetFile>: getting file /tmp/dstar.root (21330730 bytes, starting at 
> 0)
> <TFTP::GetFile>: 31.840 seconds, 0.64 Mbytes per second
> 
> What am I doing wrong, or is that a 'feature'?
> Of course, if you want to do a lot of automatic transfers, this is not 
> really nice...
> 
> Cheers,
>   Birger
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET