Add %w to cache_key (dovecot's passdb args)
This way, concurrent SOGo sessions using different PT can work
This commit is contained in:
parent
5b34ddb128
commit
085c1ac457
|
@ -1 +1 @@
|
|||
cache_key=%n%r%l
|
||||
cache_key=%n%r%l%w
|
||||
|
|
|
@ -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…
Reference in New Issue