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

What's wrong with my ldif ?



When I execute “ldapadd -W -D "cn=admin, dc=ibep, dc=net" -f /mytop.ldif -x -v” I’m getting this error:

 

adding new entry "dc=ibep, dc=net"

ldap_add: Unknown error

        additional info: entry store failed

 

ldif_record() = 80

 

 

 

Here is my mytop.ldif:

 

dn: dc=ibep, dc=net

objectclass: top

objectclass: organization

objectclass: dcObject

dc: ibep

o: ibep

description: Dominio IBEP

 

dn: o=ibep

objectClass: top

objectClass: organization

o: ibep

description: IBEP

 

dn: cn=admin, o=ibep

givenName: admin

sn: admin

mail: ti@ibep-nacional.com.br

objectClass: organizationalRole

cn: AdminManager

description: LDAP Directory Admin

 

dn: ou=Grupo1,o=ibep

ou: Grupo1

objectClass: top

objectClass: organizationalUnit

description: Membros do Grupo1

 

dn: cn=Luiz ou=Grupo1,o=ibep

cn: Luiz O.

objectClass: top

objectClass: person

objectClass: organizationalPerson

objectClass: inetOrgPerson

mail: luiz@test.com

givenname: Luiz

sn: O.

ou: Grupo1

street: Rua XXX

l: Sao Paulo

st: SP

postalCode: 999999

telephoneNumber: (11)5435-6545

homephone: (11)444-4444

facsimileTelephoneNumber: (11)555-5555

 

dn: cn=Teste11 Teste12,ou=Grupo1,o=ibep

cn: Teste11 Teste12

objectClass: top

objectClass: person

objectClass: organizationalPerson

objectClass: inetOrgPerson

mail: teste@test.com

givenname: Teste11

sn: Teste12

ou: Grupo1

street: Rua YYY

l: Sao Paulo

st: SP

postalCode: 888889

telephoneNumber: (11)111-1111

homephone: (11)222-2222

facsimileTelephoneNumber: (11)333-3333

 

 

Why am I getting this error ??

 

Thanks,

Luiz