You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Simon Walter <si...@hokkaidotracks.com> on 2009/11/19 09:16:00 UTC
[users@httpd] Apache/2.2.8 authenticate LDAP AD SSL or TLS - ubuntu(debian)
Hi all,
This is my first message to the list. Greetings.
First off I'll start by saying that I've scoured the search engines and
searched this list and found only bits and pieces. I'm not going to
report any problems right away.
My questions is: Does anyone know of a document that describes what I
need to make Apache authenticate via LDAP over SSL or TLS connecting to
a MS AD server?
I've able to do this successfully with plaintext (no SSL or TLS).
However I get warnings on my AD server saying that it is a security risk.
I'm don't know much about Windows, and I could have a problem with the
AD server and would like to know how I can test that. I've tried to
connect to the AD server with JXplorer and LDAPExplorertool2 and have
failed with SSL and TLS. I also tried using ldapsearch and got an error:
"ldap_sasl_interactive_bind_s: Unknown authentication method" Then I
installed the package for gssapi "libsasl2-modules-gssapi-heimdal". Now
I get a different error:
"SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Local
error (-2)"
I'm not sure what types of connections MS AD supports: SSL, TLS, SASL...
??? How can I know for sure that the server side is fine?
Anyway, If someone can show me a working apache config and or a document
which describes what I need to do to get this setup working, I'd be very
grateful.
I'll reply once I've tried all your suggestions.
Thanks for your help.
Simon
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache/2.2.8 authenticate LDAP AD SSL or TLS -
ubuntu(debian)
Posted by Simon Walter <si...@hokkaidotracks.com>.
Hi André and thanks for your reply.
My reply is below yours. Cheers!
André Warnier wrote:
> Simon Walter wrote:
> ...
>>
>> My questions is: Does anyone know of a document that describes what I
>> need to make Apache authenticate via LDAP over SSL or TLS connecting
>> to a MS AD server?
>>
> Greetings.
>
> There are so many variations of authentication and so many
> misunderstandings in that domain, that I'd like to figure out first if
> you are not chasing the wrong rabbit.
> Can you describe a bit more what exactly is the issue you are trying
> to solve, overall ?
> I presume that what you mean above, is not that Apache itself would
> authenticate to an AD server for some internal Apache functional reason;
> but rather that Apache should authenticate /the client/ (browser) by
> means of a check with an AD server, right ?
>
> Some specific questions in that direction :
> - what are the clients which, ultimately, need to be authenticated ?
> - how is the link between the Ubuntu Apache host, and the MS AD server ?
> Is it a purely internal (and thus relatively secure) network link, or
> does it go through some insecure network section (like the Internet) ?
> - since an MS AD back-end system is involved, there is a good chance
> that what you ultimately want, is that the clients (browsers) would be
> authenticated via their MS Windows Domain user-id. Is that correct ?
> (Or do there exist clients, which need to access Apache-controlled
> resources, but which are NOT already logged-in in a Windows Domain ?)
> - do the users accept to have a login page the first time they access
> an Apache application, or do they expect not having to login,
> considering that they are already logged-in with their workstation in
> the Domain ?
Hi André and thanks for your reply.
Yes, the httpd client (browser) is requesting a restricted resource
(Trac). All the users exist on a AD. Everything works fine, *except* I
want secure the communication between Apache and the LDAP server (MS
AD). The network is private(NATed) and protected via firewalls etc.
Until now people have had to type in their windows login password once
again to access the resource (Trac). However the browser can save the
password, so it's not terrible. But, yes, pretty much any client
accessing Trac would have already logged on to the domain. I guess being
able to omit that extra prompt would be wonderful.
I hope that cleared up anything I forgot to mention.
Thanks for your help,
Simon
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache/2.2.8 authenticate LDAP AD SSL or TLS -
ubuntu(debian)
Posted by André Warnier <aw...@ice-sa.com>.
Simon Walter wrote:
...
>
> My questions is: Does anyone know of a document that describes what I
> need to make Apache authenticate via LDAP over SSL or TLS connecting to
> a MS AD server?
>
Greetings.
There are so many variations of authentication and so many
misunderstandings in that domain, that I'd like to figure out first if
you are not chasing the wrong rabbit.
Can you describe a bit more what exactly is the issue you are trying to
solve, overall ?
I presume that what you mean above, is not that Apache itself would
authenticate to an AD server for some internal Apache functional reason;
but rather that Apache should authenticate /the client/ (browser) by
means of a check with an AD server, right ?
Some specific questions in that direction :
- what are the clients which, ultimately, need to be authenticated ?
- how is the link between the Ubuntu Apache host, and the MS AD server ?
Is it a purely internal (and thus relatively secure) network link, or
does it go through some insecure network section (like the Internet) ?
- since an MS AD back-end system is involved, there is a good chance
that what you ultimately want, is that the clients (browsers) would be
authenticated via their MS Windows Domain user-id. Is that correct ?
(Or do there exist clients, which need to access Apache-controlled
resources, but which are NOT already logged-in in a Windows Domain ?)
- do the users accept to have a login page the first time they access an
Apache application, or do they expect not having to login, considering
that they are already logged-in with their workstation in the Domain ?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org