Mailing List Archive

[Bug 64472] mod_auth_digest module's AuthDigestProvider directive does not sets 'ldap' as provider to authenticate users from LDAP
https://bz.apache.org/bugzilla/show_bug.cgi?id=64472

--- Comment #3 from Ruslan Semchenko <lastdayserq22@gmail.com> ---
Created attachment 38920
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38920&action=edit
Simple code

This example uses the AuthType directive with the Digest parameter to specify
the use of Digest authentication. The AuthLDAPURL directive defines the URL of
the LDAP server for authentication. Replace the
`ldap://ldap.example.com/dc=example,dc=com`, `cn=admin,dc=example,dc=com`, and
`adminpassword` values ??with the appropriate values ??for your LDAP server.

Make sure the mod_authnz_ldap module is installed and enabled on your server
and restart the web server to apply the configuration changes.
mod_auth_digest's AuthDigestProvider directive does not support "ldap" as an
authentication provider for LDAP users. This directive is only intended for use
with databases such as htdigest or DBM files.

If you need to use Digest authentication with LDAP users, you should use the
mod_authnz_ldap module instead of mod_auth_digest. The mod_authnz_ldap module
provides support for authentication using an LDAP server.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64472] mod_auth_digest module's AuthDigestProvider directive does not sets 'ldap' as provider to authenticate users from LDAP [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=64472

--- Comment #4 from Eric Covener <covener@gmail.com> ---
(In reply to Ruslan Semchenko from comment #3)
> Created attachment 38920 [details]
> Simple code
>
> This example uses the AuthType directive with the Digest parameter to
> specify the use of Digest authentication. The AuthLDAPURL directive defines
> the URL of the LDAP server for authentication. Replace the
> `ldap://ldap.example.com/dc=example,dc=com`, `cn=admin,dc=example,dc=com`,
> and `adminpassword` values ??with the appropriate values ??for your LDAP
> server.
>
> Make sure the mod_authnz_ldap module is installed and enabled on your server
> and restart the web server to apply the configuration changes.
> mod_auth_digest's AuthDigestProvider directive does not support "ldap" as an
> authentication provider for LDAP users. This directive is only intended for
> use with databases such as htdigest or DBM files.
>
> If you need to use Digest authentication with LDAP users, you should use the
> mod_authnz_ldap module instead of mod_auth_digest. The mod_authnz_ldap
> module provides support for authentication using an LDAP server.


This attachment doesn't use LDAP for digest auth and returns an error because
the non-ldap config is incomplete. If you modify it to actually use
'AuthDigestProvider ldap' it returns another error because LDAP and digest
don't work together.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org