Issue 8708 - SASL EXTERNAL binds and sasl-secprops minssf
Summary: SASL EXTERNAL binds and sasl-secprops minssf
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.45
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-08 18:08 UTC by David Hawes
Modified: 2019-05-09 16:23 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 David Hawes 2017-08-08 18:08:27 UTC
Full_Name: David Hawes
Version: 2.4.45
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2001:468:c80:2103:0:523:da5e:da5e)


With ITS #8568 [1], I notice that the first SASL EXTERNAL (using TLS
client auth) bind on a connection succeeds, but subsequent SASL
EXTERNAL binds on the same connection fail with:

slapd[31088]: conn=1009 op=3 RESULT tag=97 err=48 text=SASL(-15):
mechanism too weak for this user: mech EXTERNAL is too weak

when:

sasl-secprops minssf=128

In previous OpenLDAP versions, both the initial and subsequent SASL
EXTERNAL binds succeed due to the bug in #8568.

This was a misconfiguration on my part (I should have kept the default
of 0), but I wonder if the initial SASL bind should also fail. It
seems to succeed because tls_ssf is used in connection.c:

slap_sasl_external( c, c->c_tls_ssf, &authid );


[1] http://www.openldap.org/its/index.cgi/Software%20Bugs?id=8568;selectid=8568
Comment 1 Quanah Gibson-Mount 2019-05-08 15:39:57 UTC
--On Tuesday, August 08, 2017 7:08 PM +0000 dhawes@gmail.com wrote:

> Full_Name: David Hawes
> Version: 2.4.45
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (2001:468:c80:2103:0:523:da5e:da5e)


Hi David,

I believe this was fixed with ITS#8796 (part of the 2.4.46 release).  Can 
you confirm?

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


Comment 2 OpenLDAP project 2019-05-09 16:23:06 UTC
Fixed by ITS#8796
Comment 3 Quanah Gibson-Mount 2019-05-09 16:23:06 UTC
changed notes
changed state Open to Closed
Comment 4 Quanah Gibson-Mount 2019-05-09 16:23:54 UTC
--On Wednesday, May 08, 2019 12:56 PM -0400 David Hawes <dhawes@vt.edu> 
wrote:

>> Hi David,
>>
>> I believe this was fixed with ITS#8796 (part of the 2.4.46 release).  Can
>> you confirm?
>
> Confirmed. ITS#8796 fixes #8708.

Hi David,

Thanks for the quick confirmation!  I've closed ITS#8708 and noted that the 
fix for ITS#8796 resolved it.

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>