Networking Forums

Networking Forums > Computer Networking > Linux Networking > ldap: problems with ldif

Reply
Thread Tools Display Modes

ldap: problems with ldif

 
 
Sonja
Guest
Posts: n/a

 
      01-19-2005, 01:12 PM
Hi,
here is my slapd.conf (suse 9.2, ldap v 2.2.15):

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/samba3.schema

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

modulepath /usr/lib/openldap/modules

access to attr=userPassword,userPKCS12
by self write
by * auth


access to *
by * read

database ldbm
checkpoint 1024 5
cachesize 10000
suffix "dc=tux-net,dc=de"
rootdn "cn=Manager,dc=tux-net,dc=de"

rootpw xxx

directory /var/lib/ldap

index objectClass eq


my ldif looks like:

#struktur.ldif
#tux-net.de
dn: dc=tux-net,dc=de
objectclass: top

#benutzer.tux-net.de
dn: ou=benutzer,dc=tux-net,dc=de
objectclass: organizationalUnit
ou: benutzer

#gruppen.tux-net.de
dn: ou=gruppen,dc=tux-net,dc=de
objectclass: organizationalUnit
ou: gruppen

#rechner.tux-net.de
dn: ou=rechner,dc=tux-net,dc=de
objectclass: organizationalUnit
ou: rechner

and with ldapadd -x -D "cn=Manager,dc=tux-net,dc=de" -W -f
struktur.ldif

i got

adding new entry "dc=tux-net,dc=de"
ldap_add: Object class violation (65)
additional info: no structural object class provided

i don´t know why it doesn´t work. I have tried it under an older
version of suse and it worked.
what´s wrong?

sonja
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to bind to LDAP server ldap://127.0.0.1: Confidentiality required Bjørn A. Linux Networking 0 02-05-2007 06:37 PM
LDAP with Sendmail sailaja Linux Networking 1 01-30-2006 12:04 PM
Postfix+LDAP =?iso-8859-2?q?Micha=B3_Janiszewski?= Linux Networking 0 11-18-2004 05:37 AM
LDAP Profile Rich Bogle Linux Networking 0 06-14-2004 07:18 PM
An LDAP Addressbook - how? Rohan Beckles Linux Networking 2 12-19-2003 02:42 AM



1 2 3 4 5 6 7 8 9 10 11