Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NtTransQuerySecurityDesc (2.54 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

     *
     * This transaction allows retrieval of Windows security descriptors
     * which contain access control information for files and directories.
     */
    public class NtTransQuerySecurityDesc extends SmbComNtTransaction {
    
        int fid;
        int securityInformation;
    
        /**
         * Constructs an NT transaction to query security descriptor information.
         * @param config the configuration context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    class NtTransQuerySecurityDesc extends SmbComNtTransaction {
    
        int fid;
        int securityInformation;
    
        NtTransQuerySecurityDesc(final int fid, final int securityInformation) {
            this.fid = fid;
            this.securityInformation = securityInformation;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        }
    
        @Test
        void writeSetupWireFormat_returnsZero() {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(0, 0);
            byte[] dst = new byte[4];
            assertEquals(0, cmd.writeSetupWireFormat(dst, 0));
        }
    
        @Test
        void readMethodsReturnZero() {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(0, 0);
            byte[] buf = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        void testMultipleInstancesIndependence() {
            NtTransQuerySecurityDesc desc1 = new NtTransQuerySecurityDesc(mockConfig, 0x1111, OWNER_SECURITY_INFORMATION);
            NtTransQuerySecurityDesc desc2 = new NtTransQuerySecurityDesc(mockConfig, 0x2222, GROUP_SECURITY_INFORMATION);
            NtTransQuerySecurityDesc desc3 = new NtTransQuerySecurityDesc(mockConfig, 0x3333, DACL_SECURITY_INFORMATION);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.internal.RequestWithPath;
    import jcifs.internal.dfs.DfsReferralDataInternal;
    import jcifs.internal.smb1.com.SmbComClose;
    import jcifs.internal.smb1.com.SmbComFindClose2;
    import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc;
    import jcifs.util.transport.TransportException;
    
    /**
     * This class encapsulates the logic for switching tree connections
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

            f = open0(O_RDONLY, READ_CONTROL, 0, isDirectory() ? 1 : 0);
    
            /*
             * NtTrans Query Security Desc Request / Response
             */
    
            final NtTransQuerySecurityDesc request = new NtTransQuerySecurityDesc(f, 0x04);
            final NtTransQuerySecurityDescResponse response = new NtTransQuerySecurityDescResponse();
    
            try {
                send(request, response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                /*
                 * NtTrans Query Security Desc Request / Response
                 */
                final NtTransQuerySecurityDesc request = new NtTransQuerySecurityDesc(getContext().getConfig(), f.getFid(), types);
                response = th.send(request, response, RequestParam.NO_RETRY);
                return response.getSecurityDescriptor();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top