ptserver: move allocation out of put_prentries() into listEntries()
[openafs.git] / src / ptserver / pterror.et
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3 #
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 # */
9
10 # Protection Server error table
11
12 # NOTE: PRPERM value is hardcoded in audit/audit.h, so if you make
13 # changes here, make sure that audit/audit.h is kept up to date.
14
15 error_table PT
16         ec PREXIST, "Entry for name already exists"
17         ec PRIDEXIST, "Entry for id already exists"
18         ec PRNOIDS, "Couldn't allocate an id for this entry"
19         ec PRDBFAIL, "Couldn't read/write the database"
20         ec PRNOENT, "User or group doesn't exist"
21         ec PRPERM, "Permission denied"
22         ec PRNOTGROUP, "No group specified"
23         ec PRNOTUSER, "No user specified"
24         ec PRBADNAM, "Badly formed name (group prefix doesn't match owner?)"
25         ec PRBADARG, "argument illegal or out of range"
26         ec PRNOMORE, "may not create more groups"
27         ec PRDBBAD, "database needs rebuilding"
28         ec PRGROUPEMPTY, "can't make owner an empty group"
29         ec PRINCONSISTENT, "database is inconsistent"
30         ec PRDBADDR, "bad database address"
31         ec PRTOOMANY, "too many elements in group"
32         ec PRNOMEM, "malloc failed to alloc enough memory"
33         ec PRINTERNAL, "Protection library internal error"
34         ec PRNAMETOOLONG, "name is too long (maximum 63 characters)"
35 end