How to load mod_auth_ldap for apache 2.0.48 on Fedora Linux?

  • bigbrother
  • Born
  • Born
  • User avatar
  • Posts: 2

Post 3+ Months Ago

Hi there

I've installed apache 2.0.48 on my Fedora Linux system. I'd like to load the module mod_auth_ldap.
If I configure httpd to do so, I get an error when i restart apache like: Cannot load /etc/httpd/modules/mod_auth_ldap.so into server: /etc/httpd/modules/mod_auth_ldap.so: undefined symbol: util_ldap_connection_close. :(

I don't know whats wrong :( in my configuration.

Has anybody a solution? :?:

Many thanks

Andrea
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • bigbrother
  • Born
  • Born
  • User avatar
  • Posts: 2

Post 3+ Months Ago

Hi

I've the solution....

I had the file "/etc/httpd/conf/httpd.conf" and also "/etc/httpd/conf/httpd.conf.bak" in the apache root directory.
Now I renamed the file httpd.conf.bak to httpd.conf because in this file does mod_auth_ldap exist.
With this configuration, LDAP-Server connections do work correctly.

I don't know, why this new config works....

After I've created a .htaccess file like this:

### .htaccess content begin
AuthLDAPUrl ldap://ldap.tatanka.local:389/dc=tatank ... abled=true)
AuthType Basic
AuthName "LDAP Test"
Require valid-user
Require user aarquint
#Require group cn=Informatik,ou=Administration,dc=tatanka,dc=local
### .htaccess content end



Now, if get a new problem... I can connect to the LDAP-Server, but the error_log from apache says me "auth_ldap authenticate: user testuser authentication failed; URI /test [User not found][No such object]"....

So, I have to configure the LDAP-Server correctly... :)

Thanks

Andrea

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 26 guests
  • 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 post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.