Issue 6595 - Patch - Mozilla NSS - delay token auth until needed
Summary: Patch - Mozilla NSS - delay token auth until needed
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.23
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-20 18:56 UTC by rich.megginson@gmail.com
Modified: 2014-08-01 21:04 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 rich.megginson@gmail.com 2010-07-20 18:56:35 UTC
Full_Name: Rich Megginson
Version: 2.4.23
OS: Fedora
URL: ftp://ftp.openldap.org/incoming/openldap-2.4.23-initauthtoken.patch
Submission from: (NULL) (76.113.111.209)


The code was doing all of the authentications to all of the tokens during the
init phase.  This was causing problems with NSS cert/key clients, prompting for
the cert/key db password, when it isn't needed, since it is only needed to get
private key information.  The patch is to just remove the token authentication
during init.  The code already authenticates to the token when private key
information is needed e.g. running in TLS/SSL server mode, or using client cert
auth.

This patch file is derived from OpenLDAP Software. All of the 
modifications to OpenLDAP Software represented in the following 
patch(es) were developed by Red Hat. Red Hat has not assigned rights 
and/or interest in this work to any party. I, Rich Megginson am 
authorized by Red Hat, my employer, to release this work under the 
following terms.

Red Hat hereby place the following modifications to OpenLDAP Software 
(and only these modifications) into the public domain. Hence, these 
modifications may be freely used and/or redistributed for any purpose 
with or without attribution and/or other notice.
Comment 1 Howard Chu 2010-07-21 13:57:27 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Howard Chu 2010-07-21 21:12:48 UTC
rmeggins@redhat.com wrote:
> Full_Name: Rich Megginson
> Version: 2.4.23
> OS: Fedora
> URL: ftp://ftp.openldap.org/incoming/openldap-2.4.23-initauthtoken.patch
> Submission from: (NULL) (76.113.111.209)
>
>
> The code was doing all of the authentications to all of the tokens during the
> init phase.  This was causing problems with NSS cert/key clients, prompting for
> the cert/key db password, when it isn't needed, since it is only needed to get
> private key information.  The patch is to just remove the token authentication
> during init.  The code already authenticates to the token when private key
> information is needed e.g. running in TLS/SSL server mode, or using client cert
> auth.
>
> This patch file is derived from OpenLDAP Software. All of the
> modifications to OpenLDAP Software represented in the following
> patch(es) were developed by Red Hat. Red Hat has not assigned rights
> and/or interest in this work to any party. I, Rich Megginson am
> authorized by Red Hat, my employer, to release this work under the
> following terms.
>
> Red Hat hereby place the following modifications to OpenLDAP Software
> (and only these modifications) into the public domain. Hence, these
> modifications may be freely used and/or redistributed for any purpose
> with or without attribution and/or other notice.
>
>
Committed to HEAD.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 3 Quanah Gibson-Mount 2010-12-11 16:41:04 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2011-02-14 12:28:58 UTC
changed notes
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:04:29 UTC
applied to HEAD
applied to RE24