- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 95 for SmbConstants (0.14 sec)
-
src/test/java/jcifs/smb/SmbFileTest.java
// Assert assertNotNull(outputStream); verify(smbFile).openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, // 82 SmbConstants.O_WRONLY, // 2 SmbConstants.DEFAULT_SHARING, // 7, not FILE_SHARE_READ (1) SmbConstants.ATTR_NORMAL, // 128 0); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.util; import jcifs.SmbConstants; /** * SMB protocol utility class providing low-level data encoding and decoding operations. * Contains methods for reading and writing various data types (integers, strings, timestamps)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
@DisplayName("Test ServerInfo1 getType with various server types") @CsvSource({ "0x00000000, " + SmbConstants.TYPE_SERVER, "0x00000001, " + SmbConstants.TYPE_SERVER, "0x00000801, " + SmbConstants.TYPE_SERVER, "0x80000000, " + SmbConstants.TYPE_WORKGROUP, "0x80000001, " + SmbConstants.TYPE_WORKGROUP, "0xFFFFFFFF, " + SmbConstants.TYPE_WORKGROUP })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDelete.java
*/ public SmbComDelete(final Configuration config, final String path) { super(config, SMB_COM_DELETE, path); this.searchAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
} if (th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\")) { this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); } else { // at least on samba, SmbComOpenAndX fails without the pipe prefix
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
} @Override public int getType() { return (this.type & 0x80000000) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER; } @Override public int getAttributes() { return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Filesystem when there is a path beyond share assertEquals(SmbConstants.TYPE_FILESYSTEM, locator("smb://server/share/path").getType()); // Named pipe for IPC$ root assertEquals(SmbConstants.TYPE_NAMED_PIPE, locator("smb://server/IPC$/").getType()); // Share when share set but no path assertEquals(SmbConstants.TYPE_SHARE, locator("smb://server/share/").getType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
final MD4 md4 = new MD4(); md4.update(password.getBytes(SmbConstants.UNI_ENCODING)); HMACT64 hmac = new HMACT64(md4.digest()); hmac.update(user.toUpperCase().getBytes(SmbConstants.UNI_ENCODING)); hmac.update(domain.toUpperCase().getBytes(SmbConstants.UNI_ENCODING)); hmac = new HMACT64(hmac.digest()); hmac.update(challenge);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
buffer.putShort((short) 10); // maxNumberVcs buffer.putInt(8192); // maxBufferSize buffer.putInt(65536); // maxRawSize buffer.putInt(123456789); // sessionKey buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities buffer.putLong(new Date().getTime()); // serverTime buffer.putShort((short) -480); // serverTimeZone buffer.put((byte) 8); // encryptionKeyLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
try (SmbTreeHandleInternal th = file.ensureTreeConnected()) { this.smb2 = th.isSMB2(); if (file.getType() != SmbConstants.TYPE_NAMED_PIPE) { try (SmbFileHandle h = ensureOpen()) {} this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); } init(th); } catch (final CIFSException e) { throw SmbException.wrap(e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0)