blob: 0a232ddac3d2b871e99eea03753a57c847410fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# wallet.conf -- 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;
|