- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getServerWithDfs (0.2 sec)
-
src/test/java/jcifs/tests/FileLocationTest.java
assertEquals(reqPath, ( (SmbResourceLocatorInternal) fl ).handleDFSReferral(dr, reqPath)); assertEquals("1.2.3.4", fl.getServer()); assertEquals("2.3.4.5", fl.getServerWithDfs()); assertEquals("share", fl.getShare()); assertEquals("\\foo\\bar\\", fl.getUNCPath()); assertEquals("/share/foo/bar/", fl.getURLPath()); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/test/java/jcifs/tests/PipeTest.java
try ( DcerpcHandle handle = DcerpcHandle .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) { MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs()); handle.sendrecv(rpc); assertEquals(0, rpc.retval); } } @Test public void exclusiveConnection () throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
} @Override public String getServer () { return this.pipe.getLocator().getServer(); } @Override public String getServerWithDfs () { return this.pipe.getLocator().getServerWithDfs(); } @Override public byte[] getSessionKey () throws CIFSException { return this.handle.getSessionKey(); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jan 26 11:51:07 UTC 2020 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
canonicalizePath(); } return this.share; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getServerWithDfs() */ @Override public String getServerWithDfs () { if ( this.dfsReferral != null ) { return this.dfsReferral.getServer(); } return getServer(); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
if ( isConnected() ) { log.trace("Already connected"); return new SmbTreeHandleImpl(loc, this); } return connectHost(loc, loc.getServerWithDfs()); } } /** * @return whether we have a valid tree connection */ @SuppressWarnings ( "resource" ) public synchronized boolean isConnected () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
/** * * @return the server connected to */ public abstract String getServer (); /** * @return the server resolved by DFS */ public abstract String getServerWithDfs (); /** * @return the transport context used */ public abstract CIFSContext getTransportContext (); /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jun 30 10:11:57 UTC 2019 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
* Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will * return the target name. * * @return The server name */ String getServerWithDfs (); /** * Retrieve the hostname of the server for this SMB resource. If this * <code>SmbFile</code> references a workgroup, the name of the workgroup
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } SmbTreeConnection treeConn = SmbTreeConnection.create(tc); try ( SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs()); SmbSessionImpl session = th.getSession(); SmbTransportImpl transport = session.getTransport() ) { try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; private SmbComBlankResponse blank_resp = null; private DfsReferral dfsReferral = null; // For getDfsPath() and getServerWithDfs() protected static Dfs dfs; NtlmPasswordAuthentication auth; // Cannot be null SmbTree tree = null; // Initially null
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0)