summaryrefslogtreecommitdiff
path: root/tests/data/wallet.conf
blob: 877a16f6fb02dff91f941727e8d06700a209bf78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Test wallet server configuration.  -*- perl -*-

# Always test with SQLite.
$DB_DRIVER = 'SQLite';
$DB_INFO = 'wallet-db';

# 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;