[Date Prev][Date Next]
Re: SSL certificate auth without SASL (ITS#3286)
On Thursday, August 19, 2004, at 12:43 PM, Howard Chu wrote:
>> Full_Name: Donn Cave
>> Version: HEAD (Aug 17)
>> OS: n/a
>> URL: http://staff.washington.edu/donn/donn-cave-040817.ext
>> Submission from: (NULL) (184.108.40.206)
>> Allow simple bind with no password, bind DN == SSL certificate DN.
> I had a patch for this 'way back in OpenLDAP 2.0 but I abandoned it.
> There is no standard specification (e.g. RFC) for this behavior, and
> we really need to have that before a feature like this can be
> incorporated. Why can't you just use SASL/EXTERNAL? Alternatively, you
> can publish an RFC defining exactly how this feature should be (a)
> advertised by servers to clients and (b) used.
Yes, you mentioned that code when this came up in March
after Kurt mentioned the idea,
The reason I did it was of course to avoid the requirement for SASL.
We have environments here where SASL EXTERNAL support is missing,
and can't easily be added. The worst case is naturally some version
of Microsoft Windows; I don't know the details, but it was going to
be some kind of show-stopper.
The proximate cause for the patch submission was the August 6 San Diego
conference, where I think the proceedings will show that Kurt included
something like this on the wish list for contributions. Maybe I
misinterpreted. I can afford to keep carrying it as a local patch,
that's no problem.
I actually implemented it slightly differently for my site, by the way.
Same code, but it takes a magic password "X509", and accepts bind DN
"CN=EXTERNAL" as an alternative to the certificate DN. It may turn
out to be a non-trivial problem for our application people to extract
the certificate DN, so the latter feature may be more important than
I was thinking.
Donn Cave, firstname.lastname@example.org