LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2005, 07:46 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
LDAP not sure were i'm at ....


hi there i'm trying to get my LDAP server on my RHEL server going and honestly i'm not sure what i'm doing but i just keep googleing and searching and so far i've managed to get it started *YaY*. but now i'm drying to connect to it i've downloaded this LDAP browser from http://www-unix.mcs.anl.gov/~gawor/ldap/ and i'm trying to connect to it but i'm not sure of how the cn's& dn's and passwords and everything go together.

here is a read out of the files i think you need.

ldap.conf

# Your LDAP server. Must be resolvable without using LDAP.
host 127.0.0.1

# The distinguished name of the search base.
#base dc=redhat
base dc=redhat,dc=cathedral
dn: dc=redhat,dc=cathedral
objectClass: domain
dc: cathedral

slapd.conf

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
# courier imap
include /etc/openldap/schema/authldap.schema
# postfix qmail
include /etc/openldap/schema/qmail.schema

#prevents user froom looking at passwords
access to attr=userpassword,clearpassword
by anonymous auth
by self write
by dn="cn=admin,dc=redhat,dc=cathedral" write
by dn="cn=courier,dc=redhat,dc=cathedral" read
by * none
#files need access to this
access to attr=accountstatus
by dn="cn=admin,dc=redhat,dc=cathedral" read
by dn="cn=courier,dc=redhat,dc=cathedral" read
access to *
by dn="cn=admin,dc=redhat,dc=cathedral" write
by users read
by self write
by * none

#######################################################################
# ldbm database definitions
#######################################################################

database ldbm
#suffix "dc=my-domain,dc=com"
suffix "dc=redhat,dc=cathedral"
#suffix "o=My Organization Name,c=US"
#rootdn "cn=Manager,dc=my-domain,dc=com"
rootdn "cn=root,dc=redhat,dc=cathedral"
#rootdn "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw secret

if there is some more information you need please tell me, or if you know a good how-to that starts at the basics, that'd be great too.

or if someone knows of a good graphical setup tool that i'd maybe get some idea of this with that'd be great as well.

Last edited by paul_mat; 06-08-2005 at 08:22 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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