I am using ldapsearch method to backup the data and writing the output to some file. If the dn of any object is too long then the same is broken into two lines. Is there any option to suppress this new line character for long DN's.
From ldif file:***************************************************** dn: cn=abcd.xyz.rty.aaaa,ou=config,ou=xyzApp,ou=xyzGroups,ou= rain106,o=company,c=ountry ************************************** After "ou=" there is a new line character introduced so rain106 comes into next line..
Line folding in LDIF files is described in RFC2849.
-- Dipl.-Inform. Norbert Klasen DAASI International GmbH phone: +49 7071 29 70336 Wilhelmstr. 106 fax: +49 7071 29 5114 72074 Tübingen email: norbert.klasen@daasi.de Germany web: http://www.daasi.de