0

I have some code that transforms an excel sheet into an LDIF statement. I was curious that when I create a new line is there a proper way to do it so that when I try to run the LDIF there won't be any errors? For now I just have \r\n at the end of every line. Any advice? Thanks.

eric MC
  • 766
  • 2
  • 10
  • 36
  • What's the actual problem here? Does \r\n work or not? – user207421 Mar 25 '13 at 21:41
  • The only issue I was concerned about was if I attempt to run the LDIF which I am creating as a simple .txt file LDAP may not recognize the new lines. There may be no issue at all, just looking for an LDAP expert to clear it up. – eric MC Mar 26 '13 at 12:40

1 Answers1

1

Use the UnboundID LDAP SDK. There is an LDIF package enclosed.

Terry Gardner
  • 10,957
  • 2
  • 28
  • 38