Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for security_descriptor (0.17 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    		[string] wchar_t *remark;
    		uint32_t permissions;
    		uint32_t max_uses;
    		uint32_t current_uses;
    		[string] wchar_t *path;
    		[string] wchar_t *password;
    		uint32_t sd_size;
    		[size_is(sd_size)] uint8_t *security_descriptor;
    	} ShareInfo502;
    
    	typedef struct {
    		int count;
    		[size_is(count)] ShareInfo502 *array;
    	} ShareInfoCtr502;
    
    	typedef [switch_type(int)] union {
    		[case(0)] ShareInfo0 *info0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl

    		[string] wchar_t *remark;
    		uint32_t permissions;
    		uint32_t max_uses;
    		uint32_t current_uses;
    		[string] wchar_t *path;
    		[string] wchar_t *password;
    		uint32_t sd_size;
    		[size_is(sd_size)] uint8_t *security_descriptor;
    	} ShareInfo502;
    
    	typedef struct {
    		int count;
    		[size_is(count)] ShareInfo502 *array;
    	} ShareInfoCtr502;
    
    	typedef [switch_type(int)] union {
    		[case(0)] ShareInfo0 *info0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		uint8_t context_mode;
    		uint8_t effective_only;
    	} LsarQosInfo;
    
    	typedef struct {
    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		uint8_t context_mode;
    		uint8_t effective_only;
    	} LsarQosInfo;
    
    	typedef struct {
    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top