| 1 |
////////////////////////////////////////////////////////////////// |
| 2 |
// This file contains information needed by the acedb server for |
| 3 |
// activities such as controlling server restarting, global access |
| 4 |
// permissions and so on. |
| 5 |
// |
| 6 |
// See socketace_.h for keywords/further description of the server |
| 7 |
// code interface to this file. |
| 8 |
// |
| 9 |
|
| 10 |
////////////////////////////////////////////////////////////////// |
| 11 |
// DATABASE RESTART: |
| 12 |
// If the NO_RESTART flag is uncommented in this file then the |
| 13 |
// server will _not_ restart if it finds either the SHUTDOWN or |
| 14 |
// CRASH lock files in the "/database" directory. By setting this |
| 15 |
// flag the database administrator can make sure that the server |
| 16 |
// will not restart either after a controlled shutdown, or after |
| 17 |
// a crash. This is especially necessary if the server is controlled |
| 18 |
// by inetd because although the administrator may shut down the |
| 19 |
// database, inetd may immediately restart it because of a new |
| 20 |
// client connection. |
| 21 |
// |
| 22 |
//NO_RESTART |
| 23 |
|
| 24 |
|
| 25 |
////////////////////////////////////////////////////////////////// |
| 26 |
// PIDFILE: |
| 27 |
// If the PIDFILE flag is uncommented in this file then the |
| 28 |
// server will write a file into the "/database" directory which |
| 29 |
// contains its pid. This can be used by various utilities to |
| 30 |
// control the server for a particular database. The file is |
| 31 |
// removed when the server exits. NOTE that if the server finds |
| 32 |
// this file when it starts up, it will write a warning to the |
| 33 |
// server logfile as this indicates that the last time the |
| 34 |
// server was run it crashed in an unpredicatable way. If you |
| 35 |
// don't want the server to restart you should use the NO_RESTART |
| 36 |
// flag documented in this file. |
| 37 |
// |
| 38 |
//PIDFILE |
| 39 |
|
| 40 |
|
| 41 |
////////////////////////////////////////////////////////////////// |
| 42 |
// TIMESTAMP_FREQUENCY: |
| 43 |
// If the TIMESTAMP_FREQUENCY flag is uncommented in this file |
| 44 |
// then the number following it will be used to set the frequency |
| 45 |
// with which log messages are timestamped. |
| 46 |
// |
| 47 |
// The timestamp frequency will be interpreted as: |
| 48 |
// |
| 49 |
// 0 no timestamping. |
| 50 |
// 1 timestamp every message. |
| 51 |
// n timestamp every n messages. |
| 52 |
// |
| 53 |
// The default is 0. |
| 54 |
// |
| 55 |
//TIMESTAMP_FREQUENCY 0 |
| 56 |
|
| 57 |
|
| 58 |
////////////////////////////////////////////////////////////////// |
| 59 |
// NO_HOSTNAME_RESOLUTION: |
| 60 |
// By default the server will, for clients whose userid has not |
| 61 |
// been found in one of the read/write/admin groups, try to find |
| 62 |
// the domain name of the client in one of groups (except admin). |
| 63 |
// If NO_HOSTNAME_RESOLUTION is uncommented the domain name |
| 64 |
// resolution will not be attempted, administrators may wish to |
| 65 |
// to this because: |
| 66 |
// a) hostname resolution can be costly in terms of processing |
| 67 |
// b) can be unreliable leading to valid users being refused access |
| 68 |
// c) to disallow any resolution of this kind for a period while |
| 69 |
// debugging or whatever. |
| 70 |
// |
| 71 |
// |
| 72 |
//NO_HOSTNAME_RESOLUTION |
| 73 |
|
| 74 |
|
| 75 |
////////////////////////////////////////////////////////////////// |
| 76 |
// DEBUG: |
| 77 |
// If this flag is uncommented then debuggging information will be |
| 78 |
// be sent by the server to the terminal (if not inetd started) |
| 79 |
// and to a "server.log" file in the .../database directory. |
| 80 |
// |
| 81 |
//DEBUG |
| 82 |
|
| 83 |
////////////////////////////////////////////////////////////////// |
| 84 |
// DATABASE ACCESS BY THE SERVER: |
| 85 |
// |
| 86 |
// Enabling this option will tell the server not to try to write |
| 87 |
// to the database directory at all. |
| 88 |
// |
| 89 |
// - the advantage of this is that you can set the whole database |
| 90 |
// directory to be read-only (via unix file permissions) thus |
| 91 |
// avoiding any chance of corruptions. |
| 92 |
// - the disadvantage is that if something goes wrong there will |
| 93 |
// be _NO_ logging/debugging information to help you !! |
| 94 |
// - you cannot use the NO_RESTART option if you enable this |
| 95 |
// option because NO_RESTART requires lock files to be written |
| 96 |
// to the database directory. |
| 97 |
// |
| 98 |
// READONLY_DATABASE |
| 99 |
|
| 100 |
|
| 101 |
////////////////////////////////////////////////////////////////// |
| 102 |
// DATABASE ACCESS BY USERS: |
| 103 |
// |
| 104 |
// Their are three classes of user: admin, write and read. |
| 105 |
// Users in the admin group always have read/write access to the |
| 106 |
// database via a userid/passwd. Access for all users in the write |
| 107 |
// and read groups are controlled by the WRITE and READ keywords: |
| 108 |
// |
| 109 |
// WRITE access: |
| 110 |
// specify the WRITE keyword with either NONE, PASSWD or WORLD: |
| 111 |
// |
| 112 |
// WRITE NONE means no one except admin users have write access |
| 113 |
// WRITE PASSWD means only admin and users in the write group in |
| 114 |
// passwd.wrm have write access |
| 115 |
// WRITE WORLD anyone has write access, users not in the write |
| 116 |
// group can use the 'anonymous' id to get access |
| 117 |
// without a password. |
| 118 |
// if you do not specify the WRITE keyword the default is PASSWD |
| 119 |
// |
| 120 |
// READ access: |
| 121 |
// specify the READ keyword with either NONE, PASSWD or WORLD |
| 122 |
// |
| 123 |
// READ NONE means no one except admin users have read access |
| 124 |
// READ PASSWD means only admin and users in the read group in |
| 125 |
// passwd.wrm have read access |
| 126 |
// READ WORLD means anyone has read access, users not in the read |
| 127 |
// group can use the 'anonymous' id to get access |
| 128 |
// without a password. |
| 129 |
// if you do not specify the READ keyword the default is PASSWD |
| 130 |
// |
| 131 |
// These WRITE and READ fields are maintained by the server program, |
| 132 |
// you should not alter them by hand without understanding the format |
| 133 |
// the server expects to find. The line should begin with READ or WRITE |
| 134 |
// and be followed by blank(s) and then one of NONE or PASSWD or WORLD |
| 135 |
// |
| 136 |
WRITE WORLD |
| 137 |
READ WORLD |
| 138 |
|
| 139 |
|
| 140 |
// In case of problems or comments mail [email protected] |
| 141 |
// or [email protected] |
| 142 |
////////////////////////////////////////////////////////////////// |
| 143 |
////////////////////////////////////////////////////////////////// |
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
NO_HOSTNAME_RESOLUTION |