[jcifs] Jarapac

Michael B Allen mba2000 at ioplex.com
Wed Nov 12 17:09:52 EST 2003

Ok, I did this:



    export CLASSPATH

    java Example 'ncacn_np:miallen2[\PIPE\lsarpc]' example.properties

and I get this:

    [miallen at miallen3 examples]$ ./run.sh
    Exception in thread "main" java.rmi.RemoteException: RPC error.;
nested exception is:
            rpc.PresentationException: Context rejected.
    rpc.PresentationException: Context rejected. (PROVIDER_REJECTION;
            at rpc.security.ntlm.NtlmConnectionContext.accept(Unknown Source)
            at rpc.ConnectionOrientedEndpoint.connect(Unknown Source)
            at rpc.ConnectionOrientedEndpoint.bind(Unknown Source)
            at rpc.ConnectionOrientedEndpoint.call(Unknown Source)
            at rpc.Stub.call(Unknown Source)
            at Example.main(Example.java:48)

and capture Example.pcap. Is it working? How far are you from doing
something like enumerating shares?


A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.

More information about the jcifs mailing list