Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-11-2005, 10:20 PM   #1
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 379

Rep: Reputation: 31
need help LDAP Slackware!

need help LDAP Slackware!
i've been reading guides and everything else on the web and
and still can't get my slackware box to run a simple LDAP server...
they seem real complex...

can anyone point me in the right direction!??

what do i need!??

- Berkeley DB latest is 4.3 -
- OpenLDAP stable is 2.2.26 20050429 -

thank you!
Old 09-12-2005, 12:21 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
What exact problems are you having? I was trying to set up OpenLDAP on Slack about a year or so ago and following various guides from (especially the quiock start guide) I got it essentially going. Note the AFAIK you can't authenticate off of LDAP without setting up PAM and in particular the pam_ldap module.
Old 09-12-2005, 02:54 AM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,849

Rep: Reputation: Disabled

From your post I cannot really determine how far you got before you got stuck. Did you successfully compile and install the openLDAP server software? If not, I can provide a build script for an older release (2.2.13) that might work for the current stable 2.2.26. You will need a version of Berkeley DB4, but you might just use the version that comes with Slackware.
I have ran OpenLDAP on my old Slackware 9.0 server for authentication (to see if it worked - it did!) but have since then re-installed a newer Slackware. There is no need for PAM on Slackware if you want LDAP authentication. There is a FAQ entry at the
a.o.l.s. FAQ if you want to know more about how to authenticate your users against an LDAP database.

The tutorial that is part of the OpenLDAP documentation should help you setup a basic LDAP server in a relatively short time: and I would suggest that you make yourself familiar with the LDIF file format so that you can add/modify stuff in your database once it is running.

Also, there are several good tools fdr manipulating LDAP server databases, The ones I use are ldapvi which is very nice if you want to make changes but don't know the LDIF file format, and JXplorer which is a great cross-platform (Java based) GUI appliction for manupulating an LDAP server at the low level.
For LDAP user management, there is a web-based tool called LAM which I use on Samba servers that authenticate against LDAP.

Hope all of this helps.

Cheers, Eric
Old 09-16-2005, 07:25 AM   #4
Registered: Jan 2005
Location: Mashhad
Distribution: Debian Sarge
Posts: 65

Rep: Reputation: 15

I wanna configure ldap & samba PDC for debian sarge but can not,i try 3 times and can not successful in ldap but configure samba as carefully,if possible for you please help me step by step on server and client separately.when client and server configuration in same place i mistake.

server side configuration steps:

client side configuration steps:

thank a lot
Old 02-17-2007, 10:51 AM   #5
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
Samba & Openldap as Primary Domain Controller PDC

I have a how-to on my website for setting up samba as a primary domain controller (PDC)

OpenLDAP LAM Samba as PDC

and if you feeling a little bit more adventurous later on you could try getting into the policies with samba

Samba Primary Domain Controller with Group Policies


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
In Flames!!!, please help (LDAP+Slackware) xowl Slackware 3 03-19-2005 11:27 PM
LDAP in Slackware xowl Slackware 4 03-15-2005 04:57 AM
LDAP in KDE 3.3.2/KAddressbook/Slackware current Danus ex Slackware 0 01-31-2005 08:35 PM
ldap-abook unable to get street name in ldap-entry Jingle Linux - Software 1 06-06-2004 08:13 PM
user authentication with ldap on slackware? micval Slackware 4 01-16-2004 02:19 AM

All times are GMT -5. The time now is 03:49 AM.

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