[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224198#comment-16224198
 ] 

Emmanuel Lecharny commented on DIRSTUDIO-1160:
----------------------------------------------

I was wrong about the LDIF editor. The problem is when we import the entry. The 
{{AddRequest}} is :

{code}
MessageType : ADD_REQUEST
Message ID : -1
    Add Request :
Entry
    dn: cn=U0034692,dc=symas,dc=com
    objectClass: inetOrgPerson
    uid: MyTestUser
    givenName: 0x4A 0xC3 0xB6 0x68 0x6E 0x20 0x44 0x6F 0xC3 0xA4 0x65 0xC3 0xB6 
    displayName: 0x4A 0xC3 0xB6 0x68 0x6E 0x20 0x44 0x6F 0xC3 0xA4 0x65 0xC3 
0xB6 
    description: account#oldUserID#ABC123
    description: person#homeEmailAddress#[email protected]
    description: Initial import
    description: Good#Stuff
    sn: Doe
{code}

The {{description}} base 64 encoded value has been removed. The problem is most 
certainly in the LDIF parser.

> Attributes silently dropped and not imported when import LDIF and provider is 
> Apache Directory LDAP API
> -------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1160
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1160
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M13
>         Environment: Windows 10 Creators Update
>            Reporter: Aleks M
>         Attachments: desc.ldif
>
>
> When importing the attached LDIF using a connection that has the provider set 
> to Apache Directory LDAP Client API, Studio will silently drop and ignore the 
> following value in the LDIF file:
> {{description:: VGjDtmlzIMOlcyBhIHTDpHN0IHllcw==}}
> No errors are shown, the value will show up in the log and everything will 
> look OK but if you check the actual entry in the LDAP server the value is 
> missing.
> If I switch the provider to JNDI then everything will be OK.
> Tested with:
> * Apache DS 2.0 included in Studio 2.0 M13
> * NetIQ eDirectory 8.8 SP8 patch 7
> * NetIQ eDIrectory 9.0.4



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to