Re: [users@httpd] openldap on Apache 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 3/24/06, Paul Matthews <paul.matthews@xxxxxxxxxxxxxxxxxxxx> wrote:
>> hi there,
>>
>> I've just upgraded to Fedora core 5 with apache 2.2 and I'm trying to
>> get
>> apache working with ldap, but with the upgrade the old httpd.conf file
>> doesn't seam to work.
>>
>> I've added the following lines to my httpd.conf file
>>
>> <Directory /var/www/html/openldap>
>> AuthType Basic
>> AuthName "Case Network ID"
>> AuthLDAPURL
>> "ldap://127.0.0.1/ou=people,dc=fedora,dc=directory,dc=server";
>> AuthLDAPBindDN "uid=root,ou=people,dc=fedora,dc=directory,dc=server"
>> AuthLDAPBindPassword "your-openldap-password"
>> # All users in openldap
>> require valid-user
>> </Directory>
>>
>> the same lines i added to my apache 2.0 server, but that doesn't seam to
>> work. can someone help me out I've search the net but I'm guessing
>> apache's 2.2 server is fairly new and there doesn't seam to be a lot of
>> information out there about it.
>
> You'll need at least
> AuthBasicProvider ldap
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
>
i still can't authenicate

i've just added that into my httpd.conf

<Directory /var/www/html/openldap>
AuthBasicProvider ldap
AuthType Basic
AuthName "Case Network ID"
AuthLDAPURL "ldap://127.0.0.1/ou=people,dc=fedora,dc=directory,dc=server";
AuthLDAPBindDN "uid=root,ou=people,dc=fedora,dc=directory,dc=server"
AuthLDAPBindPassword "password"
# All users in openldap
require valid-user
</Directory>


and this is my /var/log/httpd/error_log file

[Sat Mar 25 11:01:13 2006] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Sat Mar 25 11:01:14 2006] [notice] Apache/2.2.0 (Fedora) configured --
resuming normal operations
[Sat Mar 25 11:03:58 2006] [notice] caught SIGTERM, shutting down
[Sat Mar 25 11:29:59 2006] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Mar 25 11:30:00 2006] [notice] Digest: generating secret for digest
authentication ...
[Sat Mar 25 11:30:00 2006] [notice] Digest: done
[Sat Mar 25 11:30:00 2006] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Sat Mar 25 11:30:03 2006] [notice] Apache/2.2.0 (Fedora) configured --
resuming normal operations
[Sat Mar 25 11:30:10 2006] [error] [client 192.168.1.34] Directory index
forbidden by Options directive: /var/www/html/, referer:
http://192.168.1.35/openldap/
[Sat Mar 25 12:14:46 2006] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Mar 25 12:14:47 2006] [notice] Digest: generating secret for digest
authentication ...
[Sat Mar 25 12:14:47 2006] [notice] Digest: done
[Sat Mar 25 12:14:48 2006] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Sat Mar 25 12:14:49 2006] [notice] Apache/2.2.0 (Fedora) configured --
resuming normal operations
[Sat Mar 25 12:17:43 2006] [notice] caught SIGTERM, shutting down
[Sat Mar 25 12:17:44 2006] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Mar 25 12:17:46 2006] [notice] Digest: generating secret for digest
authentication ...
[Sat Mar 25 12:17:46 2006] [notice] Digest: done
[Sat Mar 25 12:17:46 2006] [notice] mod_python: Creating 4 session mutexes
based on 256 max processes and 0 max threads.
[Sat Mar 25 12:17:48 2006] [notice] Apache/2.2.0 (Fedora) configured --
resuming normal operations


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux