[ZBX-13697] LDAP auth method switch makes all sessions old Created: 2018 Apr 04  Updated: 2024 Apr 10  Resolved: 2018 May 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.8
Fix Version/s: 3.4.10rc1, 4.0.0alpha7, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Alexey Pustovalov Assignee: Miks Kronkalns
Resolution: Fixed Votes: 1
Labels: authentication, ldap, sessions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Team: Team D
Team: Team D
Sprint: Sprint 31, Sprint 32, Sprint 33
Story Points: 0.5

 Description   

When LDAP auth method is selected, Zabbix performs the following SQL query:

$result &= DBexecute(
                                        'UPDATE sessions SET status='.ZBX_SESSION_PASSIVE.
                                        ' WHERE sessionid<>'.zbx_dbstr(CWebUser::$data['sessionid'])
                                );

So all sessions are marked as old, independent of auth type (internal).



 Comments   
Comment by Miks Kronkalns [ 2018 Apr 20 ]

FIXED in development branch svn://svn.zabbix.com/branches/dev/ZBX-13697

Comment by Miks Kronkalns [ 2018 May 11 ]

Fixed in:

  • 3.4.10rc1 r80718
  • 4.0.0alpha7 (trunk) r80720
Generated at Tue Apr 16 13:14:01 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.