LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-25-2005, 01:37 AM   #1
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Rep: Reputation: 15
Ldap


We have a small office, and I thought I'd set up an LDAP server on the Linux box. All I want is a common place for addresses and phone numbers, that everyone can access.

After trying for quite a while, I was able to install openldap-server and a few dependencies. However, bash cannot find slapd to start it. The "Services" panel of MCC does not list ldap or slapd. The only man entry is ldif, which has a "See also ldap" However, man ldap does not work.

I could get the tarballs, configure and make, but I'd rather use Mandrake package installer. Another reason I don't want to do this, is that I think it's already installed. Is there any way to know for sure? Is there a guide for installing this on Mandrake Linux? Any other advice?

Thanks, Dave
 
Old 01-25-2005, 02:22 AM   #2
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
One question is "Why did it take you quite a while to install openldap-servers" ? It should only require a terminal and an 'urpmi openldap-servers'.

Anyhow, slapd should be in /usr/sbin and an 'rpm -qa | grep -i ldap' shows you any package named ldap you've got installed.
If that gives you say libldap2-2.1.30-3mdk you can run 'rpm -ql libldap2' to see the contents.

- Peder
 
Old 01-25-2005, 11:59 AM   #3
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Original Poster
Rep: Reputation: 15
I used the software installer built into the Mandrake Control Center. I used easyurpmi.zarb.org to get set it up. When I tried to install, it kept hanging up on "Can't verify md5 checksum" or "unable to select package because dependency "db4-lib" is not installed. This was last night, so I don't remember 100% of the details. I kept having to try different urls.

So, /usr/sbin is not in my $PATH. Hmm. I didn't think of that. I guess the rpms don't necessarily install the man pages then.

So, there are two version of slapd installed! slapd and slapd2.2 There are two version of all the other ldap daemons as well. Now, how do I get these to launch on startup? I would like to use the "Services" pane of Mandrake Control Center, but they did not make in there.

-Dave
 
Old 01-25-2005, 12:11 PM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Yupp, you need the db4 (or db3) backend to store the info.
If /usr/sbin isn't in your $PATH you're probably not root.

Check if you have a ldap file in /etc/init.d. If so type 'service ldap start' to temporarily start it.
'chkconfig ldap on' makes it start automagically at boot.

The official MDK rpms have man pages. 'rpm -qlp main2/openldap-servers-2.1.30-3mdk.i586.rpm' shows among others:
/usr/share/man/man5/slapd-ldap.5.bz2 and /usr/share/man/man5/slapd.conf.5.bz2

- Peder
 
  


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
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 03:02 AM
LDAP server not starting as user LDAP klnasveschuk Fedora 1 02-15-2007 05:49 AM
ldap Ammad Linux - General 4 03-20-2005 07:59 AM
ldap-abook unable to get street name in ldap-entry Jingle Linux - Software 1 06-06-2004 08:13 PM
Ldap nath Linux - Newbie 2 07-02-2003 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:21 AM.

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
Open Source Consulting | Domain Registration