Thank you for all the responses. But is the whole doldapqry.xml I used equivalent to below in the command line?
ldapsearch -b 'o=stooges' '(cn=*)' This command does provide the result when I typed on the command line and I get at the end #numEntries: 4. Adding the & basically logically "AND" made the query work (&(cn=*)) and put the result into the xml. But what is it "AND"ing to? why does it not work with just (cn=*) as the filter? >From the Wiki the filter element is <!ELEMENT filter (#PCDATA | execute-query)> This doesnt seem to indicate using & Thanks. enio __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]