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

Re: ldif import problems



synrat <synrat@wirewalk.org> writes:

> I can't populate the directory from ldif files created by migrate
> scripts. I keep getting this error message:
>
>
> adding new entry "uid=user,ou=people,dc=domain,dc=com"
> ldap_add: Constraint violation (19)
>          additional info: mailRoutingAddress: multiple values provided
>
> 
> dn: uid=user,ou=people,dc=domain,dc=com
> uid: user
> cn: user
> sn: lastname
> givenName: user
> mail: user@domain.com
> mailRoutingAddress: user@mail.domain.com
> mailHost: mail.domain.com
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: account
> objectClass: posixAccount
> objectClass: top
> userPassword: {crypt}lalalala
> uidNumber: 1000
> gidNumber: 1000
> homeDirectory: /home/user
> loginShell: /usr/local/bin/bash
> gecos: user

Put the ldif file into a decent editor and check that every line
begins at column 1 and that there is no space after the last
character. 

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.avci.de
GPG Key ID:8C183C8622115328