Add %w to cache_key (dovecot's passdb args)

This way, concurrent SOGo sessions using different PT can work
tags/ipasserelle-groupware-0.2.37-1 0.2.23_el6
Daniel Berteaud 9 years ago
parent 5b34ddb128
commit 085c1ac457
  1. 2
      root/etc/e-smith/db/configuration/defaults/dovecot/PassDBArgs
  2. 8
      root/etc/e-smith/db/configuration/migrate/DovecotCacheKeys

@ -0,0 +1,8 @@
{
# 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');
}
}
Loading…
Cancel
Save