[jcifs] Jarapac

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


Ok, I did this:

    #!/bin/sh

    CLASSPATH=../jarapac.jar:../jcifs-ntlm-auth.jar:../ncacn_np.jar:../ntlm-security.jar:../lib/jcifs-0.7.15.jar:.

    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.
(PROVIDER_REJECTION; ABSTRACT_SYNTAX_NOT_SUPPORTED)
    rpc.PresentationException: Context rejected. (PROVIDER_REJECTION;
ABSTRACT_SYNTAX_NOT_SUPPORTED)
            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
ExampleInterface_Stub.testOperation(ExampleInterface_Stub.java:28)
            at Example.main(Example.java:48)

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

Mike

-- 
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