Symantec IGA

  • 1.  ldif2dxc error - non numeric oid

    Posted Apr 20, 2015 10:44 AM


    I was trying to convert a schema from SUNONE to CA.

     

    ldif2dxc -v 0x PATH\default.dxg -f sunone-store.99user.ldif  newCAschema.dxc

     

    It has error

    Error: Expecting a numeric oid, instead of: 'companyapp-portfoliomon-oid'

    Error: Cannot get 'attributetypes' oid

    Error: Cannot parse LDAP schema value

    Error: Cannot process LDIF record

    Error: Cannot read LDIF stream, line 10 (approx)

    Error: Cannot load LDIF records into list

    ldif2dx failed/

     

    From the schema I have

    attributes: (companyapp-portfoliomon-oid NAME 'companyapp-portfoliomon-oid' SYNTAX 1.3.6.1.4.1.146.6.115.121.1.15 X-ORIGIN 'user defined')

    attributes: (2.5.24.1.1012 NAME 'companyapp-newcuwat SYNTAX 1.3.6.1.4.1.146.6.115.121.1.15 X-ORIGIN 'user defined')

     

    I discussed with the LDAP administrators about the non numeric OID issue. She says in a newer version of sunone directory, Oracle automatically maps all the numeric OID to non numeric String values.

     

    I have been thinking of assigning those OID numeric values back to the schema in an ad hoc manner but I am wondering if this is a right way of doing it.  Can you advise what is the best way to approach this?

     

    Thanks and regards,
    Eric



  • 2.  Re: ldif2dxc error - non numeric oid

    Posted Apr 20, 2015 09:12 PM

    Hi Eric,

     

    How was "sunone-store.99user.ldif" generated? Was this using the tool dxschemaldif?

     

    Thanks,

     

    Justin



  • 3.  Re: ldif2dxc error - non numeric oid

    Posted Apr 21, 2015 08:37 AM

    Seems that the client just grab the file from the directory server file system and rename it.

    They did not use the tool dxschemaldif yet.



  • 4.  Re: ldif2dxc error - non numeric oid
    Best Answer

    Posted Apr 21, 2015 06:48 PM

    The dxschemaldif tool connects to SunONE and reads the rootDSE entry. This publishes the schema supported by the server. This should create a better version of the schema to be consumed by ldif2dxc.

     

    They can also be used together.

     

    dxschemaldif host:port | ldif2dxc newCASchema.dxc



  • 5.  Re: ldif2dxc error - non numeric oid

    Posted Apr 22, 2015 04:40 PM

    Thank you