Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 51 for rid (0.01 seconds)

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

        }
    
        /**
         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
         * {@code S-1-5-21-1496946806-2192648263-3843101252} and RID {@code 1029} would
         * yield the SID {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         */
        /**
         * Construct a SID from a domain SID and an RID (relative identifier).
         *
         * @param domsid the domain SID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
                throws IOException {
            this.handle = handle;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/SidResolver.java

         * @param domsid the domain SID
         * @param rid the group RID
         * @param flags resolution flags
         * @return the SIDs of the group members
         * @throws CIFSException if there is an error retrieving group members
         */
        SID[] getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) throws CIFSException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SID.java

         * Construct a SID from a domain SID and an RID
         * (relative identifier). For example, a domain SID
         * {@code S-1-5-21-1496946806-2192648263-3843101252} and RID {@code 1029} would
         * yield the SID {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         *
         * @param domsid the domain SID
         * @param rid the relative identifier
         */
        public SID(final SID domsid, final int rid) {
            this.revision = domsid.revision;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SID.java

        /**
         * Gets the domain SID for this SID.
         *
         * @return domain SID
         */
        SID getDomainSid();
    
        /**
         * Get the RID
         *
         * This is the last subauthority identifier
         *
         * @return the RID
         */
        int getRid();
    
        /**
         * Return a String representing this SID ideal for display to
         * users. This method should return the same text that the ACL
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("getGroupMemberSids: group types call resolver with domainSid and rid")
            void testGetGroupMemberSidsGroup() throws Exception {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                // Build a group SID with domain name and RID 512
                SID group = new SID(buildSidT((byte) 1, ident, 10, 20, 512), jcifs.SID.SID_TYPE_DOM_GRP, "DOM", "Domain Admins", false);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        class SamrRidWithAttributeTests {
    
            @Test
            @DisplayName("Should encode RID with attribute correctly")
            void testEncode() throws NdrException {
                // Given: RID with attribute
                samr.SamrRidWithAttribute ridWithAttribute = new samr.SamrRidWithAttribute();
                ridWithAttribute.rid = 100;
                ridWithAttribute.attributes = 200;
    
                // When: Encoding
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

        class SamrRidWithAttributeTests {
    
            @Test
            @DisplayName("Should encode RID with attribute correctly")
            void testEncode() throws NdrException {
                // Given: RID with attribute
                samr.SamrRidWithAttribute ridWithAttribute = new samr.SamrRidWithAttribute();
                ridWithAttribute.rid = 100;
                ridWithAttribute.attributes = 200;
    
                // When: Encoding
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Always append the delimiter after the component, and in the very end shortens the buffer to get
       * rid of the extra trailing delimiter.
       */
      @Benchmark
      int alwaysAppendThenBackUp(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        public void testReadId() throws IOException, PACDecodingException {
            // RID = 0x12345678 (305419896 in decimal, little-endian)
            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            SID sid = pdis.readId();
            // The readId method creates a SID with authority 5 and the RID value
            // Expected format: S-1-5-305419896
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top