Re: [ROOT] Username always asked by rootd

From: Gerardo Ganis (Gerardo.Ganis@cern.ch)
Date: Tue May 04 2004 - 17:02:44 MEST


  Hi Birger,

  I am surprised that you are still getting asked for
  the username; could you please run with 

Root.Debug:              6

  and send me what you get on the screen?
  Could you also tell me which ROOT version you are running?

  Cheers, Gerri

  ps: only passwords are encrypted as it is now, so it's 
      normal that you find your username in the tcp-packets.


On Tue, 4 May 2004, Birger Koblitz wrote:

> Hi Gerardo,
> 
> thanks, this works. However, it looks as if the connection is not 
> encrypted. At least I can find my username easily in the tcp-packets. I 
> don't know about the password. I found a workaround by using 
> TAuthenticate::SetGlobalUser("koblitz");
> However, this means my program stops to be thread-safe, which is 
> unacceptable (I am doing tests with hundreds of client-threads and also 
> would like to have several servers, possibly with different user-names).
> 
> I consider it to be a bug, if I explicitely give the required username in the
> URL and I am nevertheless asked for it. 
> 
> Cheers,
>   Birger
> 
> On Tue, 4 May 2004, Gerardo Ganis wrote:
> 
> > 
> > 
> >   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