directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRAPI-246) Error in parsing LDIF file
Date Fri, 21 Aug 2015 12:18:45 GMT

     [ https://issues.apache.org/jira/browse/DIRAPI-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRAPI-246.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-M32

Ok, it should be fixed with http://svn.apache.org/r1696953

> Error in parsing LDIF file
> --------------------------
>
>                 Key: DIRAPI-246
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-246
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M31
>            Reporter: Steven Nguyen
>             Fix For: 1.0.0-M32
>
>
> Hi Team,
> I would like to parse a simple LDIF file in which there's an empty-value attribute like
below:
> dn: cn=Steven Nguyen,ou=SAP,dc=sap,dc=local
> changetype: modify
> replace: objectClass
> objectClass: top
> objectClass: user
> objectClass: person
> objectClass: organizationalPerson
> -
> replace: sn
> sn: Nguyen Linh
> -
> replace: url
> -
> I expect the LdifEntry after parsing would have the same but the result is a bit different:
> dn: cn=Steven Nguyen,ou=SAP,dc=sap,dc=local
> changetype: modify
> replace: objectClass
> objectClass: top
> objectClass: user
> objectClass: person
> objectClass: organizationalPerson
> -
> replace: sn
> sn: Nguyen Linh
> -
> replace: url
> url:
> -
> When I send the above LdifEntry to my AD host, it rejects with the error: 00000057: LdapErr:
DSID-0C090B8A, comment: Error in attribute conversion operation, data 0, v1db1.
> With my original LDIF file, I could successfully import to AD host (the empty-value attribute
will be removed from the entry as expected).
> Could you please have a look at this?
> Best Regards,
> Steven Nguyen



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message