directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject import of empty attributes fails
Date Fri, 02 May 2008 05:46:53 GMT
I'm using apache ds 1.5.2 on osx / jdk 1.6.

I get an error like

#!RESULT ERROR
#!CONNECTION ldap://localhost:10389
#!DATE 2008-05-02T15:39:14.166
#!ERROR [LDAP: error code 21 - failed to add entry  
uid=s9817798,ou=people,dc=bi,dc=org: Attribute value '' for attribute
  'epdprofemailaddress' is syntactically incorrect]
dn: uid=s9817798,ou=people,dc=bi,dc=org
[...]
epdprofcompanyname: Nopal AS
epdprofemailaddress:
epdproffieldofemployment: Salg
[...]

epdprofemailaddress is in the schema as

dn: m-oid=1.3.6.1.4.1.8219.2.155, ou=attributeTypes, cn=netenviron,  
ou=schema
objectclass: metaAttributeType
objectclass: metaTop
objectclass: top
m-oid: 1.3.6.1.4.1.8219.2.155
m-name: epdprofemailaddress
m-equality: caseIgnoreMatch
m-syntax: 1.3.6.1.4.1.1466.115.121.1.15

Shouldn't this allow the attribute to be present, but empty?

-- 
Torgeir Veimo
torgeir@netenviron.com





Mime
View raw message