LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2011, 12:04 AM   #1
yvivek
LQ Newbie
 
Registered: Aug 2011
Posts: 4

Rep: Reputation: Disabled
Question configuring ldap server on linux 6.0


when i m configuring ldap server on linux 6.0 for my college project with the script below :-
problem is that DB_config.example is not available under /usr/share/doc/openldap-servers-2.4.23/
plz help me where i going wrong???
[ for query without SSL ]

# ldapme

# vim /etc/auto.master

/home /etc/auto.ldap

:wq


# vim /etc/auto.ldap

:wq


# service autofs stop; service autofs start

# chkconfig autofs on

Last edited by yvivek; 08-06-2011 at 06:22 AM.
 
Old 08-03-2011, 01:45 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi and welcome to LQ,

Quote:
when i m configuring ldap server on linux 6.0 for my college project with the script below :-
problem is that DB_config.example is not available under /usr/share/doc/openldap-servers-2.4.23/
plz help me where i going wrong???
Are you sure that you've installed penldap-servers-2.4.23? Because AFAIK RHEL6 comes with openldap-servers-2.4.19, so the DB_CONFIG.example should be in /usr/share/doc/openldap-servers-2.4.19/ DB_CONFIG.example

Regards

Last edited by bathory; 08-03-2011 at 01:47 AM.
 
Old 08-03-2011, 01:46 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Something like this http://www.zytrax.com/books/ldap/ch6/bdb.html#db-config ?
Try just going into /usr/share/doc/ and having a look in any dir with ldap in the name. Note that Linux is case sensitive AND the file may not be called exactly what you've been told...

See also chap 24 http://www.linuxtopia.org/online_boo...ion/index.html and/or http://www.linuxhomenetworking.com/w...DAP_and_RADIUS
 
Old 08-03-2011, 05:09 AM   #4
yvivek
LQ Newbie
 
Registered: Aug 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Arrow openldap-servers

Quote:
Originally Posted by bathory View Post
Hi and welcome to LQ,


Are you sure that you've installed penldap-servers-2.4.23? Because AFAIK RHEL6 comes with openldap-servers-2.4.19, so the DB_CONFIG.example should be in /usr/share/doc/openldap-servers-2.4.19/ DB_CONFIG.example

Regards
yes i m sure as under /usr/share/doc/ openldap-servers-2.4.19 is not avail... is this available under rhel 5???but i need to cofig under rhel 6..
 
Old 08-03-2011, 05:40 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Well, if there isn't one, you can use this

Regards
 
Old 08-05-2011, 06:17 AM   #6
yvivek
LQ Newbie
 
Registered: Aug 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
i have got d soln DB_CONFIG file in linux 6.0 is under /usr/share/openldapservers/
now the problem is that ldapsearch -x is unable to search ldap server...plz help me out...
 
Old 08-05-2011, 06:37 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Quote:
now the problem is that ldapsearch -x is unable to search ldap server...plz help me out...
You should post the exact ldapsearch command you've used and the response you got
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Open LDAP Server & Clients in Ubuntu varun2109 Linux - Server 2 01-29-2010 11:08 AM
Configuring LDAP as central authentication server with vsftpd and smb domain l0pht Linux - Server 1 01-01-2010 01:08 PM
Configuring Zimbra mail server with MS AD user base using LDAP Lantzvillian Linux - Security 1 11-26-2007 02:35 PM
problem configuring LDAP server rajeev1982 Linux - Server 1 11-04-2007 04:59 PM
Steps to configuring a directory server using ldap and the slap daemon on Redhat EL aurasensiq Linux - Server 0 10-05-2007 02:42 PM


All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration