[389-users] migration from tivoli ldap server to 389 ldap server

Andrey Ivanov andrey.ivanov at polytechnique.fr
Mon Feb 8 11:39:35 UTC 2010


Hi,

i think you need to encode your "space" in base 64 :
description:: IAo=

2010/2/8  <Serge.Sterck at fmsb.be>:
> I'm trying to migrate from tivoli directory server  to 389
> I have imported the non standard tivoli schema that i use to the 389 without
> any problem
> I export the tivoli attributes,value in ldiff format and i perform a import
> I 'm facing just a problem when i have a attribute but the value is set to
> white space
> 389 refused to insert them. In this sample i use standard
> classesobjectClass: ieee802Device
> objectClass: person,objectClass: top but it still refused to insert
> See below the 2 samples
>
> this is ok because description is filled
>
> version: 1
> #!RESULT OK
> #!CONNECTION ldap://localhost:389
> #!DATE 2010-02-05T10:00:36.876
> dn: ou=machines,dc=fmsb,dc=be
> objectClass: organizationalUnit
> objectClass: top
> ou: machines
>
> #!RESULT OK
> #!CONNECTION ldap://localhost:389
> #!DATE 2010-02-05T10:00:36.921
> dn: cn=IMLT,ou=machines,dc=fmsb,dc=be
> objectClass: ieee802Device
> objectClass: person
> objectClass: top
> cn: IMLT
> sn: USERS_2
> description:: TWFjaGluZSBkZXZlbCBQRVRSSVNPVCBGcmFuw6dvaXM=
> macAddress: 001d7db5f232
>
> this is not ok because description is not filled it is just left white
>
> #!RESULT ERROR
> #!CONNECTION ldap://localhost:389
> #!DATE 2010-02-05T10:00:37.615
> #!ERROR [LDAP: error code 21 - description: value #0 invalid per syntax ]
> dn: cn=celem2,ou=machines,dc=fmsb,dc=be
> objectClass: ieee802Device
> objectClass: person
> objectClass: top
> cn: celem2
> sn: SERVERS
> description:
> macAddress: 0013d3daff55
>
> Description is set to one white space in tivoli no problem to insert this in
> 389 it refuse ?
> does somebody have resolve such thing ?
>
>
> Serge Sterck
> Chef de service informatique adjoint
> Tel : (02) 506.97.15
> Email: serge.sterck at fmsb.be serge.sterck at gmail.com
> ________________________________
> «Ceci est un courrier électronique à caractère professionnel. Le présent
> message comporte une information confidentielle à l'attention exclusive de
> la personne ou de l'entité à qui il est adressé ainsi que des autres
> destinataires autorisés à le recevoir. Si vous n'êtes pas le destinataire
> désigné ou autorisé, il vous est signifié que toute divulgation, copie,
> distribution ou utilisation de cette information est strictement interdite
> et peut être illégale. L'expéditeur ne peut être tenu pour responsable en
> cas de transmission incorrecte ou incomplète de l'information contenue dans
> le message ou en cas de retard dans sa réception. Nous déclinons toute
> responsabilité pour toute perte ou dommage causé par des virus.»
>
> «Dit is een professionele e-mail. De informatie in dit bericht is
> vertrouwelijk en uitsluitend bestemd voor de persoon of entiteit aan wie het
> bericht is verzonden en anderen die gerechtigd zijn dit bericht te
> ontvangen. Indien u niet de geadresseerde of een gerechtigde bent, wordt u
> hierbij op gewezen dat het openbaar maken, kopiëren, verspreiden of gebruik
> maken ervan, verboden is en illegaal kan zijn. De verzender kan niet
> aansprakelijk worden geacht voor een onjuiste of onvolledige overbrenging
> van de inhoud van dit verzonden bericht, noch voor niet tijdige ontvangst
> ervan. We wijzen elke aansprakelijkheid af voor elk verlies of schade door
> software virussen veroorzaakt.»
> ________________________________
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>



More information about the 389-users mailing list