1
|
### This file controls the configuration of the svnserve daemon, if you
|
2
|
### use it to allow access to this repository. (If you only allow
|
3
|
### access through http: and/or file: URLs, then this file is
|
4
|
### irrelevant.)
|
5
|
|
6
|
### Visit http://subversion.apache.org/ for more information.
|
7
|
|
8
|
[general]
|
9
|
### The anon-access and auth-access options control access to the
|
10
|
### repository for unauthenticated (a.k.a. anonymous) users and
|
11
|
### authenticated users, respectively.
|
12
|
### Valid values are "write", "read", and "none".
|
13
|
### Setting the value to "none" prohibits both reading and writing;
|
14
|
### "read" allows read-only access, and "write" allows complete
|
15
|
### read/write access to the repository.
|
16
|
### The sample settings below are the defaults and specify that anonymous
|
17
|
### users have read-only access to the repository, while authenticated
|
18
|
### users have read and write access to the repository.
|
19
|
# anon-access = read
|
20
|
# auth-access = write
|
21
|
### The password-db option controls the location of the password
|
22
|
### database file. Unless you specify a path starting with a /,
|
23
|
### the file's location is relative to the directory containing
|
24
|
### this configuration file.
|
25
|
### If SASL is enabled (see below), this file will NOT be used.
|
26
|
### Uncomment the line below to use the default password file.
|
27
|
# password-db = passwd
|
28
|
### The authz-db option controls the location of the authorization
|
29
|
### rules for path-based access control. Unless you specify a path
|
30
|
### starting with a /, the file's location is relative to the
|
31
|
### directory containing this file. The specified path may be a
|
32
|
### repository relative URL (^/) or an absolute file:// URL to a text
|
33
|
### file in a Subversion repository. If you don't specify an authz-db,
|
34
|
### no path-based access control is done.
|
35
|
### Uncomment the line below to use the default authorization file.
|
36
|
# authz-db = authz
|
37
|
### The groups-db option controls the location of the groups file.
|
38
|
### Unless you specify a path starting with a /, the file's location is
|
39
|
### relative to the directory containing this file. The specified path
|
40
|
### may be a repository relative URL (^/) or an absolute file:// URL to a
|
41
|
### text file in a Subversion repository.
|
42
|
# groups-db = groups
|
43
|
### This option specifies the authentication realm of the repository.
|
44
|
### If two repositories have the same authentication realm, they should
|
45
|
### have the same password database, and vice versa. The default realm
|
46
|
### is repository's uuid.
|
47
|
# realm = My First Repository
|
48
|
### The force-username-case option causes svnserve to case-normalize
|
49
|
### usernames before comparing them against the authorization rules in the
|
50
|
### authz-db file configured above. Valid values are "upper" (to upper-
|
51
|
### case the usernames), "lower" (to lowercase the usernames), and
|
52
|
### "none" (to compare usernames as-is without case conversion, which
|
53
|
### is the default behavior).
|
54
|
# force-username-case = none
|
55
|
### The hooks-env options specifies a path to the hook script environment
|
56
|
### configuration file. This option overrides the per-repository default
|
57
|
### and can be used to configure the hook script environment for multiple
|
58
|
### repositories in a single file, if an absolute path is specified.
|
59
|
### Unless you specify an absolute path, the file's location is relative
|
60
|
### to the directory containing this file.
|
61
|
# hooks-env = hooks-env
|
62
|
|
63
|
[sasl]
|
64
|
### This option specifies whether you want to use the Cyrus SASL
|
65
|
### library for authentication. Default is false.
|
66
|
### This section will be ignored if svnserve is not built with Cyrus
|
67
|
### SASL support; to check, run 'svnserve --version' and look for a line
|
68
|
### reading 'Cyrus SASL authentication is available.'
|
69
|
# use-sasl = true
|
70
|
### These options specify the desired strength of the security layer
|
71
|
### that you want SASL to provide. 0 means no encryption, 1 means
|
72
|
### integrity-checking only, values larger than 1 are correlated
|
73
|
### to the effective key length for encryption (e.g. 128 means 128-bit
|
74
|
### encryption). The values below are the defaults.
|
75
|
# min-encryption = 0
|
76
|
# max-encryption = 256
|