Issue 8484 - tlsm_register_shutdown_callonce needs to be reinitialized
Summary: tlsm_register_shutdown_callonce needs to be reinitialized
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-23 19:07 UTC by soohoon.lee@f5.com
Modified: 2018-03-22 19:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description soohoon.lee@f5.com 2016-08-23 19:07:42 UTC
Full_Name: soohoon lee
Version: HEAD
OS: linux 7.2
URL: ftp://ftp.openldap.org/incoming/soohoon-lee-160823.patch
Submission from: (NULL) (50.205.70.164)



When there's a persistent daemon for auth and it sets LDAP_OPT_X_TLS_NEWCTX, it
fails to auth at third login.

1. everything is good and destroyed after use but
tlsm_register_shutdown_callonce.initialized=1.
2. still good but because tlsm_register_shutdown_callonce.initialized==1, it
fails to register shutdown function.
   so pem_module is not destroyed at the end.
3. pem_module is not NULL so it's not initialized again and not added to modules
list. And Login fails.

Comment 1 Quanah Gibson-Mount 2017-03-17 23:36:33 UTC
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2017-12-08 15:00:41 UTC
changed notes
changed state Open to Test
Comment 3 Quanah Gibson-Mount 2018-02-09 17:37:30 UTC
changed notes
changed state Test to Release
Comment 4 OpenLDAP project 2018-03-22 19:25:15 UTC
Fixed in master (1863245f49f69ea282f42bf4ab417329ef0b3655)
Fixed in RE24 (2.4.46)
Comment 5 Quanah Gibson-Mount 2018-03-22 19:25:15 UTC
changed notes
changed state Release to Closed