Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for SmbException (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        accountName = accountName.toUpperCase();
                    primaryDomain = auth.domain.toUpperCase();
                } else {
                    throw new SmbException("Unsupported credential type");
                }
            } else {
                throw new SmbException("Unsupported");
            }
        }
    
        int getBatchLimit( byte command ) {
            return command == SMB_COM_TREE_CONNECT_ANDX ? BATCH_LIMIT : 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
        }
    
    
        /**
         * @param tc
         * @param chlng
         * @return the signing key
         * @throws SmbException
         * @throws GeneralSecurityException
         */
        public byte[] getSigningKey ( CIFSContext tc, byte[] chlng ) throws SmbException, GeneralSecurityException {
            switch ( tc.getConfig().getLanManCompatibility() ) {
            case 0:
            case 1:
            case 2:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            SmbTreeHandleImpl th = getTreeHandle();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

         * 
         * @param tc
         * @param negotiated
         * @param andx
         * @param cred
         * @throws SmbException
         * @throws GeneralSecurityException
         */
        public SmbComSessionSetupAndX ( CIFSContext tc, SmbComNegotiateResponse negotiated, ServerMessageBlock andx, Object cred )
                throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/CredentialsInternal.java

         * @param targetDomain
         * @param host
         * @param initialToken
         * @param doSigning
         * @return a new context
         * @throws SmbException
         */
        SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException;
    
    
        /**
         * @return subject associated with the credentials
         */
        Subject getSubject ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

                    if ( targ.getMechanism() != null && !targ.getMechanism().equals(this.selectedMech) ) {
                        throw new SmbException("Server switched mechanism");
                    }
                }
                inputToken = targ.getMechanismToken();
            }
            else {
                throw new SmbException("Invalid token");
            }
    
            if ( spToken instanceof NegTokenTarg && this.mechContext.isEstablished() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        protected void ignoreAuthFailure ( SmbAuthException e ) throws SmbAuthException {
            if ( e.getCause() != null && e.getCause() instanceof SmbException
                    && ( (SmbException) e.getCause() ).getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER ) {
                // broken samba servers
                Assume.assumeNoException(e);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.smb1.dcerpc.*;
    import jcifs.smb1.smb1.SmbException;
    
    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        public SamrPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException {
            this.handle = handle;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

         *
         * @see jcifs.SmbWatchHandle#watch()
         */
        @Override
        public List<FileNotifyInformation> watch () throws CIFSException {
            if ( !this.handle.isValid() ) {
                throw new SmbException("Watch was broken by tree disconnect");
            }
            try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
    
                CommonServerMessageBlockRequest req;
                NotifyResponse resp = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    
    @SuppressWarnings ( "javadoc" )
    public class SamrAliasHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
Back to top