- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getGroupMemberSids (0.18 sec)
-
src/test/java/jcifs/SidResolverTest.java
assertNotNull(result); assertArrayEquals(expectedMembers, result); verify(sidResolver, times(1)).getGroupMemberSids(mockContext, testServerName, mockDomainSid, 512, 0); } @Test void testGetGroupMemberSids_EmptyGroup() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
SID groupSid = new SID(rpcSid, SID.SID_TYPE_DOM_GRP, "BUILTIN", "Administrators", false); String server = "myserver"; int flags = 0; groupSid.getGroupMemberSids(server, mockContext, flags); verify(mockResolver).getGroupMemberSids(mockContext, server, groupSid.getDomainSid(), groupSid.getRid(), flags); } /** * Test getting group members for a non-group SID. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("getGroupMemberSids: non-group types return empty and do not call resolver") void testGetGroupMemberSidsNonGroup() throws Exception { byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; SID user = new SID(buildSidT((byte) 1, ident, 10, 99), jcifs.SID.SID_TYPE_USER, "DOM", "alice", false); jcifs.SID[] res = user.getGroupMemberSids("srv", mockCtx, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} catch (final IOException e) { throw new CIFSException("Failed to get SID from server", e); } } } @Override public SID[] getGroupMemberSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID domsid, final int rid, final int flags) throws CIFSException { final lsarpc.LsarSidArray sidarray = new lsarpc.LsarSidArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/SidResolver.java
* @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; /** * Gets the domain SID for the specified server. * * @param authorityServerName the server name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
*/ public jcifs.SID[] getGroupMemberSids(final String authorityServerName, final CIFSContext tc, final int flags) throws IOException { if (this.type != SID_TYPE_DOM_GRP && this.type != SID_TYPE_ALIAS) { return new SID[0]; } return tc.getSIDResolver().getGroupMemberSids(tc, authorityServerName, getDomainSid(), getRid(), flags); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* @param flags resolution flags * @return array of SIDs representing group members * @throws IOException if there is an error retrieving group members */ public SID[] getGroupMemberSids(final String authorityServerName, final NtlmPasswordAuthentication auth, final int flags) throws IOException { if (type != SID_TYPE_DOM_GRP && type != SID_TYPE_ALIAS) { return new SID[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0)