- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getAccountName (0.06 sec)
-
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
public int getRid() { return 0; } @Override public String toDisplayString() { return getDomainName() + "\\" + getAccountName(); } @Override public String getAccountName() { return "Test User"; } @Override public String getDomainName() { return "WORKGROUP"; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals("DOM", s1.getDomainName()); assertEquals("user1", s1.getAccountName()); assertEquals("DOM", s2.getDomainName()); assertEquals("user2", s2.getAccountName()); assertEquals("DOM", s3.getDomainName()); assertEquals("userX", s3.getAccountName()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals("30", unknown.getAccountName()); // Domain type: domain name as-is, account name empty SID domain = new SID(buildSidT((byte) 1, ident, 10, 20), jcifs.SID.SID_TYPE_DOMAIN, "MYDOM", "ignored", false); assertEquals("MYDOM", domain.getDomainName()); assertEquals("", domain.getAccountName()); // User in regular domain
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/test/java/jcifs/SIDTest.java
SID sid = new SID(rpcSid, SID.SID_TYPE_USER, "DOMAIN", "user", false); assertEquals("user", sid.getAccountName()); SID domainSid = new SID(rpcSid, SID.SID_TYPE_DOMAIN, "DOMAIN", null, false); assertEquals("", domainSid.getAccountName()); SID unknownSid = new SID(rpcSid, SID.SID_TYPE_UNKNOWN, null, null, false); unknownSid.sub_authority_count = 1;
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/main/java/jcifs/smb/SID.java
} if (this.type == SID_TYPE_UNKNOWN) { final String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return this.domainName; } @Override public String getAccountName() { if (this.origin_server != null) { resolveWeak(); } if (this.type == SID_TYPE_UNKNOWN) {
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
* <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> */ public class SID extends rpc.sid_t { /** * SID type indicating no type information. */ public static final int SID_TYPE_USE_NONE = lsarpc.SID_NAME_USE_NONE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} final SID ownerUser = file.getOwnerUser(); if (ownerUser != null) { final String[] ownerAttributes = { ownerUser.getAccountName(), ownerUser.getDomainName() }; responseData.addMetaData(SMB_OWNER_ATTRIBUTES, ownerAttributes); } } catch (final IOException e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
* The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. */ @Override public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids) throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} final SID ownerUser = file.getOwnerUser(); if (ownerUser != null) { final String[] ownerAttributes = { ownerUser.getAccountName(), ownerUser.getDomainName() }; responseData.addMetaData(SMB_OWNER_ATTRIBUTES, ownerAttributes); } } catch (final IOException e) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* the security descriptor associated with this file or directory. * <p> * Initially, the SIDs within each ACE will not be resolved however when * <code>getType()</code>, <code>getDomainName()</code>, <code>getAccountName()</code>, * or <code>toString()</code> is called, the names will attempt to be * resolved. If the names cannot be resolved (e.g. due to temporary
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)