]> mj.ucw.cz Git - subauth.git/blob - etc/subauthd
Server: Maximum comment size is limited (configurable)
[subauth.git] / etc / subauthd
1 SubauthD {
2         # Path to local socket over which clients communicate with the daemon
3         SocketPath      @INSTALL_RUN_DIR@/subauthd.socket
4
5         # Path to database of users and accounts
6         Database        @INSTALL_STATE_DIR@/subauthd.db
7
8         # An optional path to a key for signing temporary tokens.
9         # If it is defined, temporary tokens survive daemon restart. Otherwise,
10         # the daemon creates a new key on every startup.
11         TempKeyFile     @INSTALL_STATE_DIR@/subauthd-temp-key
12
13         # Maximum number of simultaneous client connections
14         MaxConnections  1000
15
16         # Maximum packet size (default: 16k)
17         MaxPacketSize   16k
18
19         # Maximum size of a user comment (default: 100)
20         MaxCommentSize  100
21
22 #ifndef CONFIG_LOCAL
23         # Log to a given stream (configured below)
24         LogStream       syslog
25 #endif
26
27         # Authentication zones: each zone contains accounts for local users
28         # (at most one per user), zones are completely independent.
29         Zone {
30                 # Name of the zone
31                 Name            mail
32
33                 # One-line description
34                 Description     E-mail
35
36                 # Allow automatic creation of accounts: when a user tries to create
37                 # a password/token in a zone where he has no account, the account is
38                 # created. If turned off, all accounts must be created explicitly
39                 # by the super-user.
40                 AutoCreateAcct  1
41
42                 # Allow users to set a password
43                 AllowPasswd     1
44
45                 # Allow users to create a token, set maximum number of tokens per user
46                 AllowTokens     16
47
48                 # Allow users to create a temporary token, set maximum lifetime of such token
49                 MaxTempValidity 3600
50         }
51 }
52 #ifndef CONFIG_LOCAL
53
54 # Logging rules (see LibUCW documentation for full explanation)
55
56 Logging {
57         Stream {
58                 Name            syslog
59                 SyslogFacility  auth
60                 SyslogPID       0
61                 Levels:remove   debug
62         }
63 }
64 #endif