LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configuring ldap server on linux 6.0 (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-ldap-server-on-linux-6-0-a-895205/)

yvivek 08-02-2011 11:04 PM

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

bathory 08-03-2011 12:45 AM

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

chrism01 08-03-2011 12:46 AM

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

yvivek 08-03-2011 04:09 AM

openldap-servers
 
Quote:

Originally Posted by bathory (Post 4432266)
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..

bathory 08-03-2011 04:40 AM

Well, if there isn't one, you can use this

Regards

yvivek 08-05-2011 05:17 AM

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...

bathory 08-05-2011 05:37 AM

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


All times are GMT -5. The time now is 12:18 PM.