Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for accessor (0.19 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

                }
                catch ( SmbException e ) {
                    if ( e.getNtStatus() == NtStatus.NT_STATUS_ACCESS_DENIED || e.getNtStatus() == WinError.ERROR_ACCESS_DENIED ) {
                        // we might not have permissions for that
                        Assume.assumeTrue("No permission for share security accesss", false);
                    }
                    throw e;
                }
            }
        }
    
    
        @Test
    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)
  2. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

    <p>
    The second parameter specifies how the file should be shared. If
    <code>SmbFile.FILE_NO_SHARE</code> is specified the client will
    have exclusive access to the file. An additional open command
    from jCIFS or another application will fail with the "file is being
    accessed by another process" error. The <code>FILE_SHARE_READ</code>,
    <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        /**
         * When specified as the <tt>shareAccess</tt> constructor parameter,
         * other SMB clients (including other threads making calls into jCIFS)
         * will not be permitted to access the target file and will receive "The
         * file is being accessed by another process" message.
         */
        static final int FILE_NO_SHARE = 0x00;
        /**
         * When specified as the <tt>shareAccess</tt> constructor parameter,
    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)
  4. src/main/java/jcifs/dcerpc/DcerpcError.java

            DCERPC_FAULT_OTHER, DCERPC_FAULT_ACCESS_DENIED, DCERPC_FAULT_CANT_PERFORM, DCERPC_FAULT_NDR, DCERPC_FAULT_INVALID_TAG,
            DCERPC_FAULT_CONTEXT_MISMATCH, DCERPC_FAULT_OP_RNG_ERROR, DCERPC_FAULT_UNK_IF, DCERPC_FAULT_PROTO_ERROR
        };
    
        static final String[] DCERPC_FAULT_MESSAGES = {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.2K bytes
    - Viewed (1)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    
    @SuppressWarnings ( "javadoc" )
    public class MsrpcSamrConnect2 extends samr.SamrConnect2 {
    
        public MsrpcSamrConnect2 ( String server, int access, SamrPolicyHandle policyHandle ) {
            super(server, access, policyHandle);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            this.file = file;
            this.openFlags = openFlags & 0xFFFF;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 );
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
                file.connect0();
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
    
        SmbFileInputStream ( SmbFile file, int openFlags, int access, int sharing, boolean unshared ) throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        public MsrpcLsarOpenPolicy2(String server, int access, LsaPolicyHandle policyHandle) {
            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            object_attributes.length = 24;
    lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
    qos.length = 12;
    qos.impersonation_level = 2;
    qos.context_mode = 1;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

        private boolean opened;
    
    
        public LsaPolicyHandle ( DcerpcHandle handle, String server, int access ) throws IOException {
            this.handle = handle;
            if ( server == null ) {
                server = "\\\\";
            }
            MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbRandomAccess.java

     */
    package jcifs;
    
    
    import java.io.DataInput;
    import java.io.DataOutput;
    
    import jcifs.smb.SmbException;
    
    
    /**
     * File access that exposes random access semantics
     * 
     * @author mbechler
     *
     */
    public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable {
    
        /**
         * Close the file
         * 
         * @throws SmbException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
Back to top