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

Re: problems importing users and groups



On Fri, Jun 29, 2007 at 09:33:41AM -0300, Timeu wrote:
> 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:*

The order is important. It's like running "mkdir /foo/bar/dir" when
neither /foo nor /foo/bar exist yet: it will fail.
So, first create dc=homolog,dc=com,dc=br
then create ou=people,dc=homolog,dc=com,dc=br
and then create your user under ou=people,dc=homolog,dc=com,dc=br