PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > configtest - Can't locate API module structure `auth_ldap_module'
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

configtest - Can't locate API module structure `auth_ldap_module'

Réponse
 
LinkBack Outils de la discussion
Vieux 06/02/2007, 11h51   #1
Thomas Barth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut configtest - Can't locate API module structure `auth_ldap_module'

Hi,

I've installed the auth_ldap_module for a basic authentification but I
get an error that apache2 is not able to locate the API module structure
auth_lap

# /etc/init.d/apache2 configtest
* Checking Apache Configuration ...
* 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

The modules are located in /usr/lib/apache2/modules/

# ls /usr/lib/apache2/modules/*ldap*

/usr/lib/apache2/modules/mod_auth_ldap.so
/usr/lib/apache2/modules/mod_ldap.so


Line 9 in /etc/apache2/modules.d/46_mod_ldap.conf
....
7 <IfDefine AUTH_LDAP>
8 <IfModule !mod_auth_ldap.c>
9 LoadModule auth_ldap_module modules/mod_auth_ldap.so
10 </IfModule>
11 </IfDefine>
....


-D AUTH_LDAP is set in /etc/conf.d/apache2:
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D AUTH_LDAP"

Any idea what has gone wrong?

Thomas B
  Réponse avec citation
Vieux 06/02/2007, 11h54   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: configtest - Can't locate API module structure `auth_ldap_module'

On 2007-02-06, Thomas Barth <txbarth@web.de> wrote:
> 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


Something make me think that you are using the wrong module or you're
missing some library.

Davide

--
Nothing says "I used to smoke dope" more than working for Microsoft.
-- Mr.Cranky (http://www.mrcranky.com)
  Réponse avec citation
Vieux 06/02/2007, 15h36   #3
Thomas Barth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: configtest - Can't locate API module structure `auth_ldap_module'

Davide Bianchi wrote:
> On 2007-02-06, Thomas Barth <txbarth@web.de> wrote:
>> 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

>
> Something make me think that you are using the wrong module or you're
> missing some library.
>
> Davide
>


Hm, I'm using Gentoo Linux as distribution and I can only find the
following version

# emerge --search auth_ldap

* net-www/mod_auth_ldap
Latest version available: 3.3
Latest version installed: 3.3
Size of files: 518 kB
Homepage:
http://www.muquit.com/muquit/softwar...auth_ldap.html
Description: Apache module for LDAP authorization
License: as-is

Is this correct?

Thomas B
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h53.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11900 seconds with 11 queries