ldifgen returning zero byte file

Sort:
You are not authorized to post a reply.
Author
Messages
Chad Dirst
Advanced Member
Posts: 42
Advanced Member
    While running the ldifgen command using the XmlToDataLdif option I am receiving a zero byte file.  I am running this command to convert our XML data file to an ldif format.

    I have successfully run this command in the past without issue, however, it is now not returning any results.

    The syntax for the command that I am using is:

    ldifgen XmlToDataLdif -f /tmp/sourceldapfile.ldif /tmp/sourcexmldata.xml

    The above command is returning zero byte for for /tmp/sourceldapfile.ldif.

    The input file (/tmp/sourcexmldata.xml)  I am using is generated via the following command: 
    ldifgen ldapdatatoxml -f /tmp/sourcexmldata.xml

    This has worked for me in the past.  We have not had any recent chagnes to our $LAWDIR/system/install.cfg file and I am baffled why it has stoppd working.  I am not receiving any error messages while running the command.  Only a zero byte file.

    Thanks in advance.  
    Chad
     
    Chad Dirst
    Advanced Member
    Posts: 42
    Advanced Member
      Does anyone have any comments.  We have tried numerous items and they have all been unsuccessful.  To reiterate, we are attempting utilize ldifgen to convert an XML file to an LDIF file.  Thanks. Chad
      This_Guy
      Veteran Member
      Posts: 93
      Veteran Member
        Hey Chris - I know this post is quite old, but wondering if you were able to figure this out? I am, however getting an error - but, the zero bytes peaks my interest. Wondering if you tried anything that ultimately worked?
        You are not authorized to post a reply.