Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-25-2005, 01:37 AM
|
#1
|
Member
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50
Rep:
|
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
|
|
|
01-25-2005, 02:22 AM
|
#2
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
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
|
|
|
01-25-2005, 11:59 AM
|
#3
|
Member
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50
Original Poster
Rep:
|
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
|
|
|
01-25-2005, 12:11 PM
|
#4
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|