Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nach mod_auth_ldap installation startet der Apache nicht meh
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
dussel
n00b
n00b


Joined: 26 Sep 2005
Posts: 38
Location: At the moment Hamburg

PostPosted: Thu Oct 06, 2005 3:31 pm    Post subject: Nach mod_auth_ldap installation startet der Apache nicht meh Reply with quote

Hallo,

möchte gerne den Apachen mit LDAP ausstatten. Nachdem ich das module : mod_auth_ldap installiert habe, bekomme ich diesen Fehler:
Code:

/etc/init.d/apache2 start

* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 9 of /etc/apache2/modules.d/46_mod_ldap.conf:
Can't locate API module structure `auth_ldap_module' in file /usr/lib/apache2/modules/mod_auth_ldap.so: /usr/lib/apache2/modules/mod_auth_ldap.so: undefined symbol: auth_ldap_module


Meine 46_mod_ldap.conf:
Code:

<IfDefine LDAP>
  <IfModule !util_ldap.c>
    LoadModule ldap_module    modules/mod_ldap.so
  </IfModule>
</IfDefine>

<IfDefine AUTH_LDAP>
  <IfModule !mod_auth_ldap.c>
    LoadModule auth_ldap_module   modules/mod_auth_ldap.so
  </IfModule>
</IfDefine>

# Examples below are taken from the online documentation
# Refer to:
# http://localhost/manual/mod/mod_ldap.html
# http://localhost/manual/mod/mod_auth_ldap.html

<IfModule util_ldap.c>

    LDAPSharedCacheSize 200000
    LDAPCacheEntries 1024
    LDAPCacheTTL 600
    LDAPOpCacheEntries 1024
    LDAPOpCacheTTL 600

    <Location /ldap-status>
        SetHandler ldap-status
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
        AuthLDAPEnabled on
        AuthLDAPURL ldap://192.168.101.201:389
#/dc=example,dc=com?uid?one
        AuthLDAPAuthoritative on
        require valid-user   
    </Location>

</IfModule>

<IfModule mod_auth_ldap.c>

    #AuthLDAPURL ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?sub?(objectClass=*)
    #require valid-user

</IfModule>


modules/mod_auth_ldap.so ist vorhanden. Darum frage ich mich warum ich den Fehler bekomme.[/code]

Eine weitere Frage wäre wie die Syntax von ldapsearch aussieht. Irgendwie bekomme ich das meine Daten (host, user, usw) richtig untergebracht.

Über Antworten würde ich mich freuen,

Gruß Dussel
_________________
Never let the sun go down
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum