Re: Usage: DCE::RPC::new (new DCE::RPC, $auth) at



On 11/28/07, pravinengg@xxxxxxxxx <pravinengg@xxxxxxxxx> wrote:

I am writing a perl code to access DCERPC interface, using DCE::RPC
module and i am ending up in error "Usage: DCE::RPC::new (new
DCE::RPC, $auth) at dcerpc.pl"

I think that module isn't finished yet; it's only version 0.11, and
the source code near that message says:

########################################################################
# new is a constructor that is stripped off the socket part of the #
# DCE::RPC package. It is not recommended to use. It is mostly written #
# for the test program that comes with this module. #
########################################################################

It seems that the module isn't supposed to be used that way, even
though that's what the documentation shows. Maybe there's a better
module, or maybe you could work with the module's author to finish it.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training
.