[Date Prev][Date Next]
ldapsearch as own process
Anyone have an idea why ldapsearch executable doesnt print a resulting
ldif file when I start it with
CreateProcess (NT4 ) command like:
strcpy(commando,".\bin\ldapsearch.exe -b \"dc=envilogg,dc=se\" -s
base \"objectclass=*\" >
The ' \" ' means that a quotation mark (") will be inserted in the
string and the createprocess works for another simple testprogram I
wrote, that simply writes some text to a textfile.
The exact same commandoline works perfectly if I use it in DOS window.
Before the new console window dissappears it says something like "...bad
Any characters that are differently interpreted by CreateProcess than by
Greatful for any help!