Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MsrpcShareEnum (0.11 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

    
    @SuppressWarnings ( "javadoc" )
    public class MsrpcShareEnum extends srvsvc.ShareEnumAll {
    
        class MsrpcShareInfo1 extends SmbShareInfo {
    
            MsrpcShareInfo1 ( srvsvc.ShareInfo1 info1 ) {
                this.netName = info1.netname;
                this.type = info1.type;
                this.remark = info1.remark;
            }
        }
    
    
        public MsrpcShareEnum ( String server ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

    import jcifs.smb1.util.Hexdump;
    
    public class MsrpcShareEnum extends srvsvc.ShareEnumAll {
    
        class MsrpcShareInfo1 extends SmbShareInfo {
    
            MsrpcShareInfo1(srvsvc.ShareInfo1 info1) {
                this.netName = info1.netname;
                this.type = info1.type;
                this.remark = info1.remark;
            }
        }
    
        public MsrpcShareEnum(String server) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PipeTest.java

            try ( DcerpcHandle handle = DcerpcHandle
                    .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) {
                MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs());
                handle.sendrecv(rpc);
                assertEquals(0, rpc.retval);
            }
        }
    
    
        @Test
        public void exclusiveConnection () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

        static FileEntry[] doMsrpcShareEnum ( CIFSContext ctx, SmbResourceLocator loc, Address address ) throws IOException {
            try ( DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\srvsvc") ) {
                MsrpcShareEnum rpc = new MsrpcShareEnum(loc.getServer());
                handle.sendrecv(rpc);
                if ( rpc.retval != 0 ) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        ioe.printStackTrace(log);
                }
            }
        }
        FileEntry[] doMsrpcShareEnum() throws IOException {
            MsrpcShareEnum rpc;
            DcerpcHandle handle;
    
            rpc = new MsrpcShareEnum(url.getHost());
    
            /* JCIFS will build a composite list of shares if the target host has
             * multiple IP addresses such as when domain-based DFS is in play. Because
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top