Hi,

Sorry I am new here and my query might sound stupid.
I am trying to do an LDAP search and dump the results in a file

My Code looks something like this

.
.
.
 $fileId = ">./OUTPUT/attrValues.txt";
 open(ATTRVAL, $fileId)  or warn $@;
.
.

             @result = $entry->get_value($cmdAttr);
             $entry->dump(ATTRVAL);
             if($result[0] eq $cmdValue){print ATTRVAL "ID:".$id." >>
"."Attr:".$cmdAttr."Value:".$cmdValue."\n"};
.
.
.


The Command "$entry->dump(ATTRVAL);" dumps the data for me to the file
attrValue.txt rather it prints it on the screen (Linux) or dont print it at
all (Solaris).

Can anyone help please.

Many Thanks
Ramma




--
Make God Laugh, Tell Him Your Future Plans

Reply via email to