Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MsrpcDfsRootEnum (0.08 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

     * roots on a server using the NetDFS RPC interface.
     */
    public class MsrpcDfsRootEnum extends netdfs.NetrDfsEnumEx {
    
        /**
         * Creates a new DFS root enumeration request for the specified server.
         *
         * @param server the server name to enumerate DFS roots from
         */
        public MsrpcDfsRootEnum(final String server) {
            super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java

     * roots on a server using the NetDFS RPC interface.
     */
    public class MsrpcDfsRootEnum extends netdfs.NetrDfsEnumEx {
    
        /**
         * Creates a new DFS root enumeration request for the specified server.
         *
         * @param server the server name to enumerate DFS roots from
         */
        public MsrpcDfsRootEnum(final String server) {
            super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            String serverName = "test-server";
    
            // When
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName);
    
            // Then
            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
            // We can test the public fields that are set.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

    import jcifs.dcerpc.msrpc.MsrpcDfsRootEnum;
    import jcifs.dcerpc.msrpc.netdfs;
    import jcifs.internal.smb1.net.SmbShareInfo;
    import jcifs.smb.FileEntry;
    
    class MsrpcDfsRootEnumTest {
    
        private static final String TEST_SERVER = "testserver";
        private MsrpcDfsRootEnum dfsRootEnum;
    
        @BeforeEach
        void setUp() {
            dfsRootEnum = new MsrpcDfsRootEnum(TEST_SERVER);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            try (DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\netdfs")) {
                final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                drs[di] = dr;
            }
    
            return drs;
        }
    
        //    FileEntry[] getDfsRoots(String domainName, NtlmPasswordAuthentication auth) throws IOException {
        //        MsrpcDfsRootEnum rpc;
        //        DcerpcHandle handle = null;
        //
        //        /* Procedure:
        //         * Lookup a DC in the target domain
        //         * Ask the DC for a referral for the domain (e.g. "\example.com")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
        }
    
        FileEntry[] doDfsRootEnum() throws IOException {
            MsrpcDfsRootEnum rpc;
            final FileEntry[] entries;
    
            DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + getAddress().getHostAddress() + "[\\PIPE\\netdfs]", auth);
            try {
                rpc = new MsrpcDfsRootEnum(getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top