[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
can read, but not write
i have the following slapd.conf for openldap 2.0.7 on bsd 2.8. i can bind
anonymously and with Manager / pw. using the java ldap browser/editor
(2.8), i can bind and as the latter i can edit existing entries, but i
cannot add a new entry, nor add a new attribute. i have set the write
permissions as loosely as possible (chmod 777 - they will be tightened up
once i have this working) and added the line access to * by * write to
slapd.conf, but still nothing will write. i am also using php, and have the
same problem - i can read, but cannot write.
any help greatly appreciated,
julian
here is slapd.conf:
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26
17:06:18 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/corba.schema
include /etc/openldap/schema/inetorgperson.schema
#include /etc/openldap/schema/nadf.schema
#include /etc/openldap/schema/java.schema
#include /etc/openldap/schema/nis.schema
#include /etc/openldap/schema/krb5-kdc.schema
include /etc/openldap/schema/openldap.schema
#include /etc/openldap/schema/cosine.schema
#include /etc/openldap/schema/misc.schema
# Define global ACLs to disable default read access.
access to * by * write
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
# Load dynamic backend modules:
# modulepath /usr/local/libexec/openldap
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
#suffix "dc=something, dc=net"
#"Base DN" in Netscape is same as suffix:
suffix "o=something.net"
#suffix "o=myorg, c=US"
#suffix "dc=my-domain, dc=com"
#suffix "o=My Organization Name, c=US"
#rootdn "cn=root, o=myorg, c=US"
# rootdn "cn=Manager, dc=greenseek, dc=net"
#the connexion name is cn=Manager (pw: secret)
rootdn "cn=Manager, o=something.net"
#rootdn "cn=Manager, o=My Organization Name, c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw xxxxxx
# The database directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory /usr/local/var/openldap-ldbm
# Indices to maintain
index objectClass eq