Gossamer Forum
Quote Reply
OpenLDAP
hi all,
i installed openLDAP 2.0.27.8 in linux system and my config is
Code:
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
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

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
password-hash {MD5}
pidfile //var/run/slapd.pid
argsfile //var/run/slapd.args

# Create a replication log in /var/lib/ldap for use by slurpd.
#replogfile /var/lib/ldap/master-slapd.replog

# Load dynamic backend modules:
modulepath /usr/sbin/openldap
moduleload back_ldap.la
moduleload back_ldbm.la
moduleload back_passwd.la
moduleload back_shell.la

#
# The next three lines allow use of TLS for connections using a dummy test
# certificate, but you should generate a proper certificate by changing to
# /usr/share/ssl/certs, running "make slapd.pem", and fixing permissions on
# slapd.pem so that the ldap user or group can read it.
# TLSCertificateFile /usr/share/ssl/certs/slapd.pem
# TLSCertificateKeyFile /usr/share/ssl/certs/slAdminapd.pem
# TLSCACertificateFile /usr/share/ssl/certs/ca-bundle.crt
#
# Sample Access Control
# Allow read access of root DSE
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
#
#access to dn="cn=root,dc=node6,dc=com" by * read
access to attribute=userPassword
by dn="cn=root,dc=node6,dc=com" write
by anonymous auth
by none

access to
by dn="cn=root,dc=node6,dc=com" write
by self write
by dn="cn=root,dc=node6,dc=com" read
by * auth
#
# if no access controls are present, the default is:
# Allow read by all
#
# rootdn can always write!

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

database ldbm
suffix "dc=node6,dc=com"
#suffix "o=asclep ,c=US"
rootdn "cn=root,dc=node6,dc=com"
#rootdn "cn=root,o=asclep,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 kumaran
#rootpw
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap/db/
# Indices to maintain
#index objectClass,uid,uidNumber,gidNumber,memberUid eq
#index objectClass eq
# Replicas to which we should propagate changes
#replica host=ldap-1.example.com:389 tls=no
#bindmethod=sasl saslmech=GSSAPI
#authcId=host/ldap-master.example.com@EXAMPLE.COM
and i started slapd
tries to add entry with -f /root/test.ldif -x
where test.ldif
Code:
dn: dc=node6,dc=com
objectClass: dcObject
objectClass: organization
dc:node6
o:asclep
description: The Asclep Corporation
what i got
Code:
adding new entry "dc=node6,dc=com"
ldap_add: Insufficient access

ldif_record() = 50
any one help me out....
Quote Reply
Re: [kumaran] OpenLDAP In reply to
*please* read the forum descriptions ;) I've moved your thread for you.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates