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

This way, concurrent SOGo sessions using different PT can work
tags/0.2.23_el5 0.2.23_el5
Daniel Berteaud 10 years ago
parent 114e1faa7e
commit e0e9b06fbb
  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