This discussion is archived
2 Replies Latest reply: Jan 7, 2013 9:55 AM by PRISM RSS

call ldifwrite by automatic batch process

PRISM Newbie
Currently Being Moderated
I am trying to write a Windows batch file to automatically backup entries in my OID on a weekly basis. I am using the ldifwrite tool (ldapsearch -L doesn't give me the output I need). The problem I am having is that the ldifwrite tool prompts for the OID password after calling the program. There is no way (that I can find) to supply this password automatically. I am looking at the documentation here:

Is there a way to include the password in the ldifwrite command itself, or perhaps by specifying a parameter file? If not, is it possible to write my batch file in such a way to automatically enter the password when prompted? I can use the Cygwin *nix emulator, if needed.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points