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 at xxxxxx.com
>
> o: Annuaire
>
> sn: XXXXXX
>
> uid: CXXXXXX
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users



[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux