ipasserelle-groupware/root/etc/e-smith/db/configuration/migrate/DovecotCacheKeys
Daniel Berteaud 085c1ac457 Add %w to cache_key (dovecot's passdb args)
This way, concurrent SOGo sessions using different PT can work
2015-02-17 16:48:33 +01:00

9 lines
290 B
Plaintext

{
# Add the plaintext password to the cache key so concurrent sessions
# from SOGo, using different CAS PT can work
my $args = $DB->get_prop('dovecot', 'PassDBArgs');
if ($args && $args eq 'cache_key=%n%r%l'){
$DB->set_prop('dovecot', 'PassDBArgs', 'cache_key=%n%r%l%w');
}
}