Re: [389-users] Problem with ldif import and empty attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BLANQUART Fabrice wrote:
>
> Hi,
>
> I try to migrate an old Netscape Directory Server to 389ds.
>
> When I import the export database, I get a lor of reject because of 
> empty attributes .
>
> I get reject like :
>
> Error adding object 'dn: uid=XXXXXX,o=Annuaire,o=directoryRoot'. The 
> error sent by the server was 'null. l: value #0 invalid per syntax
>
> c: value #0 invalid per syntax
>
> I test with centos-ds 8.1.0 and I didn’t get these errors.
>
> Is there a way to configure 389ds to accept empty attributes ?
>
Yes, set nsslapd-syntaxcheck: off in dse.ldif cn=config. But I strongly 
discourage you to do this. You should remove these attributes, or set 
them to real values, or you will be asking for trouble in the future.
>
> Rgs
>
> Ldif example :
>
> dn: uid=XXXXXX,o=Annuaire,o=directoryRoot
>
> objectclass: top
>
> objectclass: person
>
> objectclass: organizationalPerson
>
> objectclass: inetorgperson
>
> c:
>
> cn: XXXXX Christelle
>
> givenname: Christelle
>
> l:
>
> mail: cxxxxx@xxxxxxxxxx
>
> o: Annuaire
>
> sn: XXXXXX
>
> uid: CXXXXXX
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux