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

Re: ldif import problems

--On Saturday, August 28, 2004 8:50 PM -0400 synrat <synrat@wirewalk.org> wrote:

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

What version of OpenLDAP?

Did you read the schema to see if "mailRoutingAddress" was an alias for another attribute you already have defined?


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html