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

ldif import problems

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

I have the following schemas included and below is a sample entry.

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/misc.schema
include         /usr/local/etc/openldap/schema/nis.schema

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

thank you all for your replies.