Thread Problem mit ldapadd: Erste ou erstellen (2 answers)
Opened by format_c at 2005-04-07 21:23

format_c
 2005-04-07 21:23
#33138 #33138
User since
2003-08-04
1706 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Hi Ich hab mal wieder ein problem mit openldap und verstehe den ErrorOutput mal wieder nicht.
slapd.conf:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 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/nis.schema
include /etc/openldap/schema/inetorgperson.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

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

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

# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default policy is:
# Allow read by all
#
# rootdn can always write!

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

database bdb
suffix "dc=Koeppe"
rootdn "cn=Manager,dc=Koeppe"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw *******************************
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/openldap-data
# Indices to maintain
index objectClass eq


ldap.conf
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.9 2000/09/04 19:57:01 kurt Exp $
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE dc=Koeppe
URI ldap://boston.lan.de ldap://boston.lan.de:666

#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never


global.ldif
Code: (dl )
1
2
dn: ou=Adressbuch
objectclass: organizationalUnit


Output
Code: (dl )
1
2
3
4
5
6
7
$ ldapadd -x -W -D "cn=Manager,dc=Koeppe" -f global.ldif
adding new entry "ou=Adressbuch"

ldapadd: update failed: ou=Adressbuch
ldap_add: Server is unwilling to perform (53)
additional info: referral missing
$


Weis jemand was das "referral missing" bedeutet? ist doch in slapd.conf deaktiviert.

Gruß Alex

View full thread Problem mit ldapadd: Erste ou erstellen