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

Notices


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

Rep: Reputation: 32
need help LDAP Slackware!


need help LDAP Slackware!
i've been reading guides and everything else on the web and LQ.com
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 - http://www.sleepycat.com/
- OpenLDAP stable is 2.2.26 20050429 - http://www.openldap.org/software/download/



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

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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 www.openldap.org (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: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
Hi!

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: http://www.openldap.org/doc/admin22/quickstart.html 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
matarodi
Member
 
Registered: Jan 2005
Location: Mashhad
Distribution: Debian Sarge
Posts: 65

Rep: Reputation: 15
ldap

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

like
server side configuration steps:
1-
2-
3-
....

client side configuration steps:
1-
2-
3-
....

thank a lot
 
Old 02-17-2007, 10:51 AM   #5
paul_mat
Member
 
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 http://www.opensourcehowto.org for setting up samba as a primary domain controller (PDC)

OpenLDAP LAM Samba as PDC
http://www.opensourcehowto.org/how-t...ba-as-pdc.html

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
http://www.opensourcehowto.org/how-t...-policies.html
 
  


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

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

All times are GMT -5. The time now is 05:28 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