Logo ROOT   6.14/05
Reference Guide
NetErrors.cxx
Go to the documentation of this file.
1 // @(#)root/net:$Id$
2 // Author: Fons Rademakers 28/08/2003
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 //////////////////////////////////////////////////////////////////////////
13 // //
14 // NetErrors //
15 // //
16 // This file defines error strings mapped to the error codes generated //
17 // by rootd/proofd. //
18 // //
19 //////////////////////////////////////////////////////////////////////////
20 
21 #include "NetErrors.h"
22 
23 // Must match order of ERootdErrors enum in NetErrors.h
24 const char *gRootdErrStr[] = {
25  "undefined error",
26  "file not found",
27  "error in file name",
28  "file already exists",
29  "no access to file",
30  "error opening file",
31  "file already opened in read or write mode",
32  "file already opened in write mode",
33  "no more space on device",
34  "bad op code",
35  "bad message",
36  "error writing to file",
37  "error reading from file",
38  "no such user",
39  "remote not setup for anonymous access",
40  "illegal user name",
41  "can't cd to home directory",
42  "can't get passwd info",
43  "wrong passwd",
44  "no SRP support in remote daemon",
45  "fatal error",
46  "cannot seek to restart position",
47  "server does not accept the requested authentication method from this host or from user@host",
48  "server does not accept connection from this host: contact server administrator",
49  "authentication attempt unsuccessful",
50  "failure: authenticated user not the same as requested login username",
51  "remote host cannot create file to store internal socket address",
52  "cannot change remote file permissions",
53  "unique random tag missing, incomplete or wrong",
54  "can't get passwd info (host equivalence: no files found)",
55  "can't get passwd info (host equivalence: files have wrong permissions)",
56  "can't get passwd info (host equivalence: passwd-free access not allowed)",
57  "wrong passwd (host equivalence: no files found)",
58  "wrong passwd (host equivalence: files have wrong permissions)",
59  "wrong passwd (host equivalence: passwd-free access not allowed)",
60  "unique random tag missing, incomplete or wrong (host equivalence: no files found)",
61  "unique random tag missing, incomplete or wrong (host equivalence: files have wrong permissions)",
62  "unique random tag missing, incomplete or wrong (host equivalence: passwd-free access not allowed)",
63  "can't get passwd info, .rootdpass perms not 0600",
64  "can't get passwd info, .rootdpass perms not 0600 (host equivalence: no files found)",
65  "can't get passwd info, .rootdpass perms not 0600 (host equivalence: files have wrong permissions)",
66  "can't get passwd info, .rootdpass perms not 0600 (host equivalence: passwd-free access not allowed)",
67  "generic error"
68 };
const char * gRootdErrStr[]
Definition: NetErrors.cxx:24