Hi Peter, On Sun, 27 Feb 2005, Peter Elmer wrote: > [CC to xrootd list] > > Hi Giuseppe, > > Thanks for the bug report. I've CC-d it to the xrootd mailing list. (I > think, but am not 100% sure, that you can now post to the list w/o being > subscribed...) ok, let's see if it works ... > Andy, see below (there is a missing else). I'll let you fix it... > > Giuseppe, does xrootd refuse to start altogether after this error or does > the message only appear in the log file? xrootd refuses to start > Also, are you setting this up for analysis use or for simulation production? for simulation production at INFN in Rome We've been using xrootd since the beginning of SP6, to access the background triggers (we have had too many problems with NFS in the past). (and this setting is important for security) Now I'm setting up SP7, and while I was fighting with KanAccess.cfg ("configuration error: path has to be of the form <server>:<port>/"), I updated the xrootd version and found this bug. ciao, Giuseppe. > thanks, > Pete > > On Sun, Feb 27, 2005 at 07:02:52PM +0100, Giuseppe Della Ricca wrote: > > ciao Peter, > > > > credo di aver trovato un baco in XRootd 20040907-0403 & 20050226-0852 > > > > se metto in xrootd.cf la riga: > > > > xrd.allow host *.roma1.infn.it > > > > ottengo un errore durante l'inizializzazione: > > > > 050227 18:51:59 22289 XrdConfig: invalid allow type - host > > > > il problema e' in Xrd/XrdConfig.cc: > > > > if (!strcmp(val, "host")) ishost = 1; > > if (!strcmp(val, "netgroup")) ishost = 0; > > else {eDest->Emsg("Config", "invalid allow type -", val); > > return 1; > > } > > > > anche se la prima condizione e' vera, la seconda e' falsa e quindi c'e' > > l'errore (manca un 'else') > > > > FIX: > > > > if (!strcmp(val, "host")) ishost = 1; > > else if (!strcmp(val, "netgroup")) ishost = 0; > > else {eDest->Emsg("Config", "invalid allow type -", val); > > return 1; > > } > > > > spero sia utile > > > > ciao, > > Giuseppe. > > > > ------------------------------------------------------------------------- > Peter Elmer E-mail: [log in to unmask] Phone: +41 (22) 767-4644 > Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland > ------------------------------------------------------------------------- >