Hi roottalk, The behavior of anonymous rootd usage has apparently changed between root v3.05/07 and root v3.10/01. With root v3.05/07, I can access a rootd server set up for anonymous usage using the following commands: root[0] TAuthenticate::SetGlobalUser("anonymous"); root[1] TAuthenticate::SetGlobalPasswd("schubert@hep.umn.edu"); root[2] TNetFile* netfile = new TNetFile("root://localhost//mydatafile.root"); The anonymous rootd server is set up as per the instructions on: http://root.cern.ch/root/NetFile.html and mydatafile.root is located in the home directory specified in the /etc/passwd file. The rootd daemon is started from the xinetd.d superdaemon. Running the same set of commands and setup procedures using root v3.10/01 for both the root session and rootd binary, I find that I am prompted for a username even though this has been set globally: root[0] TAuthenticate::SetGlobalUser("anonymous"); root[1] TAuthenticate::SetGlobalPasswd("schubert@hep.umn.edu"); root[2] TNetFile* netfile = new TNetFile("root://localhost//mydatafile.root"); Name (localhost:kasahara): and that if I try to enter anonymous as the username at the prompt, I get a segv. I'm wondering what the procedure is for connecting to a rootd server anonymously with 3.10/01. I would like for this to procedure to not require a prompt for username/passwd. I am using gcc 3.2.2 on rh linux 9.0. Thanks in advance for your help! -Sue Kasahara
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET