Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SecurityDescriptor (0.17 sec)

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

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    
    public class SecurityDescriptor {
    
        SID owner_user, owner_group;
        public int type;
        public ACE[] aces;
    
        public SecurityDescriptor() {
        }
        public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

    /**
     * Internal use only
     * 
     * @internal
     */
    public class SecurityDescriptor implements SecurityInfo {
    
        /**
         * Descriptor type
         */
        private int type;
    
        /**
         * ACEs
         */
        private ACE[] aces;
        private SID ownerUserSid, ownerGroupSid;
    
    
        /**
         * 
         */
        public SecurityDescriptor () {}
    
    
        /**
         * @param buffer
         * @param bufferIndex
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

    import java.io.IOException;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class NtTransQuerySecurityDescResponse extends SmbComNtTransactionResponse {
    
        private SecurityDescriptor securityDescriptor;
    
    
        /**
         * 
         * @param config
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            int start = bufferIndex;
    
            if (errorCode != 0)
                return 4;
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

    
        public ACE[] getSecurity () throws IOException {
            srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502) this.info;
            if ( info502.security_descriptor != null ) {
                SecurityDescriptor sd;
                sd = new SecurityDescriptor(info502.security_descriptor, 0, info502.sd_size);
                return sd.getAces();
            }
            return null;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

     */
    package jcifs.internal.smb2.info;
    
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.fscc.FileFsFullSizeInformation;
    import jcifs.internal.fscc.FileFsSizeInformation;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

        }
    
        public ACE[] getSecurity() throws IOException {
            srvsvc.ShareInfo502 info502 = (srvsvc.ShareInfo502)info;
            if (info502.security_descriptor != null) {
                SecurityDescriptor sd;
                sd = new SecurityDescriptor(info502.security_descriptor, 0, info502.sd_size);
                return sd.aces;
            }
            return null;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.msrpc.MsrpcShareGetInfo;
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.dtyp.ACE;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.dtyp.SecurityInfo;
    import jcifs.internal.fscc.BasicFileInformation;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            send(request, response);
    
            close(f, 0L);
    
            response.securityDescriptor.owner_user.resolve(getServerWithDfs(), auth);
            return response.securityDescriptor.owner_user;
        }
    
        public SID getOwnerGroup() throws IOException {
    
            int f = open0(O_RDONLY, READ_CONTROL, 0, isDirectory() ? 1 : 0);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (windows-386), type SecurityAttributes struct, InheritHandle uint32
    pkg syscall (windows-386), type SecurityAttributes struct, Length uint32
    pkg syscall (windows-386), type SecurityAttributes struct, SecurityDescriptor uintptr
    pkg syscall (windows-386), type Servent struct
    pkg syscall (windows-386), type Servent struct, Aliases **uint8
    pkg syscall (windows-386), type Servent struct, Name *uint8
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top