testing with roundcube 1.1 in chromium. SSO was not working, no aparent errors reported.
Reason:
User agent length is greater than table column length, so insert fails (silent).
Solution:
Change
$user_agent = $_SERVER['HTTP_USER_AGENT'];
for
$user_agent = substr($_SERVER['HTTP_USER_AGENT'], 0, 120);
Note: It's also important to set $config['sess_match_useragent'] = FALSE; in ./agendav-1.2.6.2/web/config/advanced.php. This part is due to an agendav issue with user agent length. Agendav does truncate user agent on login, but in following requests compares whole string with stored one (truncated) and session never matches so it destroys it and starts over, and so on.
testing with roundcube 1.1 in chromium. SSO was not working, no aparent errors reported.
Reason:
User agent length is greater than table column length, so insert fails (silent).
Solution:
Change
$user_agent = $_SERVER['HTTP_USER_AGENT'];
for
$user_agent = substr($_SERVER['HTTP_USER_AGENT'], 0, 120);
Note: It's also important to set $config['sess_match_useragent'] = FALSE; in ./agendav-1.2.6.2/web/config/advanced.php. This part is due to an agendav issue with user agent length. Agendav does truncate user agent on login, but in following requests compares whole string with stored one (truncated) and session never matches so it destroys it and starts over, and so on.