blob: 19c3aebe83c591c1e1ce2f2b97b9c051ab989f16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Test wallet server configuration. -*- perl -*-
# Always test with SQLite.
$DB_DRIVER = 'SQLite';
$DB_INFO = 'wallet-db';
# Point to the schema directory in the distribution.
$DB_DDL_DIRECTORY = "$ENV{SOURCE}/sql";
# Set up a file bucket.
$FILE_BUCKET = 'test-files';
# Simple auto-creation rules.
sub default_owner {
my ($type, $name) = @_;
my $principal = $ENV{REMOTE_USER};
if ($type eq 'file' and $name eq 'auto') {
return ('auto', [ 'krb5', $principal ]);
} else {
return;
}
}
1;
|