Issue 6770 - Proxy authorization fails with SASL-GSSAPI
Summary: Proxy authorization fails with SASL-GSSAPI
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: 2011-01-03 23:02 UTC by jwinius@umrk.nl
Modified: 2017-04-07 23:50 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 jwinius@umrk.nl 2011-01-03 23:02:02 UTC
Full_Name: Jaap Winius
Version: 2.4.23-7
OS: Debian squeeze
URL: 
Submission from: (NULL) (2001:888:10:d5f::2)


Proxy authorization works with SIMPLE binds, as well as with SASL binds using
various other mechanisms, but not with SASL and GSSAPI. In that case it may only
work initially, but eventually the problem is that, for no apparent reason, the
consumer instead attempts to use a SIMPLE bind to authenticate itself to the
provider. Naturally, this fails.

For detailed background and debugging info, see this thread:

   http://www.openldap.org/lists/openldap-technical/201101/msg00002.html

Comment 1 ando@openldap.org 2011-01-04 16:50:03 UTC
Let me confirm that it works as expected with SIMPLE and SASL bind using
EXTERNAL (TLS) and DIGEST-MD5.  I haven't tried with GSSAPI; the issue
might be specific to it.

p.

Comment 2 c.waeschenfelder@websale.de 2011-07-15 08:08:52 UTC
Same problem here:

If I use the cn=config style, proxy authorization works directly after 
configuring it.
If I reboot the slave server the authorization fails to work and the 
bindmethod switches from SASL/GSSAPI to SIMPLE.

If I delete the configuration directory /etc/ldap/slapd.d and use a 
simple /etc/ldap/slapd.conf and make the same configuration the old way 
everything keeps working after reboots.

So I think there is a Problem while loading the cn=config configuration.


Comment 3 ando@openldap.org 2011-07-19 19:15:09 UTC
> Same problem here:
>
> If I use the cn=config style, proxy authorization works directly after
> configuring it.
> If I reboot the slave server the authorization fails to work and the
> bindmethod switches from SASL/GSSAPI to SIMPLE.
>
> If I delete the configuration directory /etc/ldap/slapd.d and use a
> simple /etc/ldap/slapd.conf and make the same configuration the old way
> everything keeps working after reboots.
>
> So I think there is a Problem while loading the cn=config configuration.

Something in this area should have been fixed in master code; some fixes
may have been released in 2.4.26.  Can you indicate what version you're
using?  In case you're using the latest, can you test with master code?

p.

Comment 4 ando@openldap.org 2011-07-20 10:28:54 UTC
Please keep replies in cc with the ITS.

On 07/20/2011 10:28 AM, Christian Wäschenfelder wrote:
>
>> Something in this area should have been fixed in master code; some fixes
>> may have been released in 2.4.26. Can you indicate what version you're
>> using? In case you're using the latest, can you test with master code?
>>
>> p.
>>
>
> At the moment I'm using 2.4.23-7 on debian squeeze.
> I'll try it with 2.4.26 and master code.
>
> Ahhm... were can I get the master code, just download via git?

yes.  p.

Comment 5 c.waeschenfelder@websale.de 2011-07-20 16:10:01 UTC
> Something in this area should have been fixed in master code; some fixes
> may have been released in 2.4.26. Can you indicate what version you're
> using? In case you're using the latest, can you test with master code?
>
> p.

The problem seems already solved in 2.4.26.

The authorization seems to work reliable now,
I couldn't recognize any authorization errors after upgrading to 2.4.26.


Comment 6 OpenLDAP project 2017-04-07 23:50:34 UTC
Fixed in 2.4.26
Comment 7 Quanah Gibson-Mount 2017-04-07 23:50:34 UTC
changed notes
changed state Open to Closed
moved from Incoming to Software Bugs