[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Error 80



Hi Folks,
 
well I could solve the problem. The origin was that my databse directory didn´t have suffucient rights.
 
yours
anis  
----- Original Message -----
From: anis
Sent: Wednesday, March 17, 2004 3:46 PM
Subject: Re: Error 80

Hi,
 
I still have a problem creating a new Database.
1-I have  configured the lapd.conf file as follows
   
database ldbm
suffix  "ou=bere,o=dzbw,c=de"
rootdn  "id=Admin,ou=Benutzer,ou=bere,o=dzbw,c=de"
rootpw {SSHA}4se/NAtINe+FBbFPTCvkDJB9ViyWHABr
directory /home/hamiden/ldap/db
 
2-I have created the empty directory /home/hamiden/ldap/db
 
3-I have started the server
4- then I run
    ldapadd -x -D "id=Admin,ou=Benutzer,ou=bere,o=dzbw,c=de" -W -f /home/hamiden/ldap/Test.ldif
 
where Test.ldif conatins the following
 
dn: ou=bere,o=dzbw,c=de
objectClass: organizationalUnit
objectClass: top
ou: bere
 
dn: ou=Benutzer,ou=bere,o=dzbw,c=de
objectClass: organizationalUnit
objectClass: top
ou: Benutzer
businessCategory: 90
 
Result:
adding new entry "ou=bere,o=dzbw,c=de"
ldapadd: update failed: ou=bere,o=dzbw,c=de
ldap_add: Internal (implementation specific) error (80)
5- But if I run:
 slapadd  -v -c -f /etc/openldap/slapd.conf -l /home/hamiden/ldap/Test.ldif -d 256 -b "ou=bere,o=dzbw,c=de" -d 4
 
the out tells that all entities are added and some files are created in my directory. Eventhough I get nothing when I run
 
 ldapsearch -x -b 'ou=bere,o=dzbw,c=de' '(objectclass=*)'
# extended LDIF
#
# LDAPv3
# base <ou=bere,o=dzbw,c=de> with scope sub
# filter: (objectclass=*)
# requesting: ALL
#
 
# search result
search: 2
result: 32 No such object
 
# numResponses: 1
 
What´s wrong ??????
 
Please help a.s.a.p?