Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for cap (0.15 sec)

  1. src/main/java/jcifs/SmbConstants.java

        static final int CAP_NONE = 0x0000;
        static final int CAP_RAW_MODE = 0x0001;
        static final int CAP_MPX_MODE = 0x0002;
        static final int CAP_UNICODE = 0x0004;
        static final int CAP_LARGE_FILES = 0x0008;
        static final int CAP_NT_SMBS = 0x0010;
        static final int CAP_RPC_REMOTE_APIS = 0x0020;
        static final int CAP_STATUS32 = 0x0040;
        static final int CAP_LEVEL_II_OPLOCKS = 0x0080;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        @Override
        public boolean haveCapabilitiy ( int cap ) {
            return ( this.capabilities & cap ) == cap;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported () {
            return !getConfig().isDfsDisabled() && haveCapabilitiy(SmbConstants.CAP_DFS);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_DFS = 0x8;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_SCALEOUT = 0x20;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_CLUSTER = 0x40;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws SmbException
         * @throws CIFSException
         */
        void ensureDFSResolved () throws CIFSException;
    
    
        /**
         * @param cap
         * @return whether the capabiltiy is present
         * @throws CIFSException
         */
        boolean hasCapability ( int cap ) throws CIFSException;
    
    
        /**
         * @return the send buffer size of the underlying connection
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if ( !this.useNTSmbs ) {
                log.debug("No support for NT SMBs");
            }
    
            // there seems to be a bug with some servers that causes corruption if using signatures +
            // CAP_LARGE_WRITE
            if ( th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            if ( !config.isDfsDisabled() ) {
                this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_DFS;
            }
    
            if ( config.isEncryptionEnabled() && config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB300) ) {
                this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION;
            }
    
            Set<DialectVersion> dvs = DialectVersion
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                    if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
                        lmHash = new byte[0];
                        ntHash = new byte[0];
                        capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                    } else if (session.transport.server.encryptedPasswords) {
                        lmHash = auth.getAnsiHash( session.transport.server.encryptionKey );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
                    if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\") ) {
                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    }
                    else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int CAP_NONE             = 0x0000;
        static final int CAP_RAW_MODE         = 0x0001;
        static final int CAP_MPX_MODE         = 0x0002;
        static final int CAP_UNICODE          = 0x0004;
        static final int CAP_LARGE_FILES      = 0x0008;
        static final int CAP_NT_SMBS          = 0x0010;
        static final int CAP_RPC_REMOTE_APIS  = 0x0020;
        static final int CAP_STATUS32         = 0x0040;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
Back to top