LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2005, 03:31 PM   #1
linuxlastslonge
Member
 
Registered: Jun 2002
Location: Franklin, IN
Distribution: Debian, CentOS, Mac OS X
Posts: 158

Rep: Reputation: 30
Arrow ldap configuration


okay... i'm trying to get ldap to work with slapd. does anyone have a basic ldap.conf and slapd.conf configuration file they could post to help get me going? any help would be appreciated. thanks!
 
Old 06-17-2005, 08:04 AM   #2
lukebeales
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Rep: Reputation: 15
these will obviously vary per system but here's mine which works.

slapd.conf:

Code:
	include		/etc/openldap/schema/core.schema
	include		/etc/openldap/schema/cosine.schema
	include		/etc/openldap/schema/inetorgperson.schema
	include		/etc/openldap/schema/nis.schema
	pidfile		/var/ldap/run/slapd.pid
	argsfile		/var/ldap/run/slapd.args
	database		bdb
	suffix		"dc=YOUR_HOSTNAME"
	directory		/var/ldap/openldap-data
	rootdn		"cn=admin,dc=YOUR_HOSTNAME"
	rootpw		ROOT_PASSWORD
probably not the most secure given the password, but i believe that doesn't need to be the system root, just the ldap root. anyway, on to ldap.conf:

Code:
	host			127.0.0.1
	base			dc=YOUR_HOSTNAME
	pam_filter		objectclass=posixAccount
	pam_login_attribute	uid
	nss_base_passwd		ou=users,dc=YOUR_HOSTNAME?one
	nss_base_shadow		ou=users,dc=YOUR_HOSTNAME?one
	nss_base_group	ou=groups,dc=YOUR_HOSTNAME?one
	sslno
 
  


Reply



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 client configuration help omart Linux - Software 1 11-22-2004 02:06 AM
LDAP Configuration on Redhat 9 akumar_net Linux - Software 1 07-05-2004 08:02 AM
????Any LDAP configuration Checklists? pudhiyavan Linux - Networking 0 12-05-2003 05:59 AM
Re ldap configuration problem ravi_sambaji Linux - Networking 1 06-28-2003 11:43 AM
ldap configuration ravi_sambaji Linux - Networking 1 06-27-2003 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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