OpenLDAP

  • clark_james
  • Born
  • Born
  • clark_james
  • Posts: 3
  • Loc: Cebu City, Philippines

Post 3+ Months Ago

Guys,

I'm a newbie on Linux. Please bear with my ignorance. I'm currently installing Red Hat Enterprise Linux 3 in one of my test machine (i386). I fully installed it and activated ldap and httpd through its GUI services.

My problem here is I'm trying to configure Apache to have an authentication popup when a user tries to access the site and it would authnticate it through LDAP.

I need even the simples configuration including how to create a user account for LDAP. A friend of mine told me to install Berkeley DB and I already have installed it but don;t know what to do after.

I know there are expert here and I need your help as soon as possible.


Thank you very much.

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

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

I am going to assume you are running Apache; I will further assume it's in the 2.x branch.

mod_ldap; This Apache module should perform exactly the sort of auth you require.

http://httpd.apache.org/docs-2.0/mod/mod_ldap.html
  • clark_james
  • Born
  • Born
  • clark_james
  • Posts: 3
  • Loc: Cebu City, Philippines

Post 3+ Months Ago

Thanks for the quick reply. It helped me alot. I was able to configure it to ask for the username.

My second question is how to create a LDAP Directory (i'm not sure if the term for it is right). What I mean here is how to create a file or something which contains a list of users in which LDAP would refere to. Just like the /etc/passwd file.

Please help.

Thanks.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

When you say you're running ldap, that's the server right? No the client?
I would imagine so.

http://www.openldap.org/

There's docs on how to setup a ldap schema.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 86 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.