[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch



>>>>> "Mikael" == Mikael  <mikael@envilogg.se> writes:

    Mikael> Hi!  Simple question: If I want to use the ldapsearch.exe
    Mikael> (included in openldap package) for searching in my
    Mikael> ldapserver but I want the result to be printed in a
    Mikael> separate textfile(in ldif format) in a specific filepath,
    Mikael> what is the complete command?  -L for ldif format but to
    Mikael> specify that result should be printed to a file?

'Lucily' it's rare in between when I have to use a Win machine, but
doesn't the character '>' work under dos/windows to? That is, doing

        ldapsearch 'objectclass=*' -L > file.ldf

or whatever. Can't remember actually. Doing a quick 'dir /w > out' on
a Win98 worked, so try that...

--