When I try to import users and groups to LDAP I get this error:
 
# ldapadd -x -D 'cn=administrador,dc=homolog,dc=com,dc=br' -W -f users.ldif
Enter LDAP Password:
adding new entry "uid=root,ou=People,dc=homolog,dc=com,dc=br"
ldap_add: No such object (32)
        matched DN: dc=homolog,dc=com,dc=br

I already readed the FAQ and applied some modfications but it's still not importing...
 
here comes part of my users.ldif:
dn: uid=root,ou=People,dc=homolog,dc=com,dc=br
uid: root
cn: root
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword: {crypt}$1$/8NOCC5o$qtKfYeX8NJc7zNpGkYpWy/
shadowLastChange: 13599
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 0
gidNumber: 0
homeDirectory: /root
gecos: root


and the base.ldif:
dn: dc=homolog,dc=com,dc=br
objectclass: dcObject
objectclass: organization
objectClass: top
o: Medlynx
dc: homolog
 

dn: cn=administrador,dc=homolog,dc=com,dc=br
objectclass: organizationalRole
cn: administrador
 
--
Timeu F. Oliveira
-----------------------------------------------------------------------
Confirmado: dias 28, 29 e 30 de Setembro de 2007 em Aracaju - SE.
II ENSL - Encontro Nordestino de Software Livre
I LIVRE-SE - Encontro Sergipano de Software Livre
http://www.linux-se.org.br