Questions tagged [jcifs]

JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java.

JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java. CIFS is the standard file sharing protocol on the Microsoft Windows platform (e.g. Map Network Drive ...). This client is used extensively in production on large Intranets.

290 questions
0
votes
1 answer

SmbFileOutputStream write creating corrupted jpg files

I'm using JCIFS SmbFileOutputStream write to upload jpg (and mp4) files to a share on a local Windows network. While this works well most of the time, I sometimes find that the resulting files are corrupt - e.g. if it's a jpg perhaps only the top…
Ian M
  • 567
  • 8
  • 33
0
votes
1 answer

jcifs share enumartion timesout

I've been using jcifs 1.3.17 for quite some time, and recently had some troubles enumerating shares from one specific NetApp machine. the NetApp is in cluster mode using smbclient from same source to same target finishes successfully I can post…
Nati
  • 1,034
  • 5
  • 19
  • 46
0
votes
1 answer

GWT, jcifs, and multiple prompting for login

We have a gwt app that uses jcifs to pull the user name from our NT domain. Here is a clip of our web.xml: NtlmHttpFilter com.xxx.gwt.server.MyNTLMFilter
arinte
  • 3,660
  • 10
  • 45
  • 65
0
votes
2 answers

Check that JCIFS SMB location is writable?

I'm writing an Android asynctask which needs to write to an SMB share using JCIFS. Before attempting the write, I'd like to check whether the SMB folder has write permissions, and display a message to the user if not. Ideally I'd like to do this…
Ian M
  • 567
  • 8
  • 33
0
votes
1 answer

NTLMv2 requires extended security, When using Dexguard obfuscate in android

I had used jcifs 1.3.17 jar in my application (on libs folder). My application works fine, before obfuscate my app by DEXGuard. After obfuscate my app, It gives the run-time error like below. NTLMv2 requires extended security…
Finder
  • 1,217
  • 5
  • 18
  • 46
0
votes
1 answer

How to provide credentials to JCIFS in TeamCity for the Deployer Plug In?

Using the Deployer plugin, I'm getting this exception: [13:37:11]Step 2/2: Copy Files (SMB Deployer) [13:37:11][Step 2/2] Starting upload via SMB to \devwebserver\WebApps\TCTest\TCTestDeploy [13:37:11][Step 2/2] jcifs.smb.SmbAuthException: Logon…
The Evil Greebo
  • 7,013
  • 3
  • 28
  • 55
0
votes
1 answer

Permission error using JCIFS to write to Windows share

I'm writing a simple app to copy a file to a share on my local Windows network, but am getting the errors below when executing the code. I'm using the JCIFS libraries, and SmbFileOutputStream. java.lang.RuntimeException: An error occured while…
Ian M
  • 567
  • 8
  • 33
0
votes
1 answer

JCIFS jcifs.smb.SmbFile#renameTo dislikes special characters like '&'

I've encounter a problem when operating on a remote Windows share with name containing '&' character using jcifs via apache-camel. The root cause of this is that apparently jcifs doesn't handle '&' character too well while renaming remote file while…
Andrzej
  • 11
  • 3
0
votes
2 answers

JCifs login failure on windows to linux file transfer

The following code working correctly on from windows to windows file tranfer but when i use this code in linux (for from windows to linux file transfer) i get errors. Error: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad…
onrgns
  • 61
  • 4
0
votes
2 answers

JCIFS error jcifs.smb.SmbException: 0xC00000BB

I use jcifs.jar on my Android project. It works well except I change the language to Turkish.It throw exception below. W/System.err(18799): jcifs.smb.SmbException: 0xC00000BB W/System.err(18799): at…
theodore
  • 47
  • 1
  • 5
0
votes
2 answers

How to retrieve audio from network storage

The following code is aimed to read audio files from a network storage and play them back in a swing application The code makes use of java SourceDataLine and jcifs to retrieve the audio back The problem is that i need to define the mark/reset for…
QGA
  • 3,114
  • 7
  • 39
  • 62
0
votes
2 answers

jcifs nullpointerexception at getInputStream

I am writting an android application to download a file from the network , but I keep getting the following error : java.lang.NullPointerException at jcifs.smb.ServerMessageBlock.writeString(ServerMessageBlock.java:213) …
WhiteWolfza
  • 225
  • 3
  • 7
0
votes
1 answer

Problems with jCifs authentication on oracle RDMS embedded jvm

I'm using jCifs 1.3.17 to connect and list files on remote windows share. Everything works fine on my local JRE(5,6,7), but the same code executed on oracle 11g database (11.2.0.3.0) crashes with following stack: jcifs.smb.SmbAuthException: Logon…
Maciej Czarnecki
  • 158
  • 2
  • 10
0
votes
1 answer

JCIFS Package Reference Error in Javascript

I am trying to use JCIFS to access file in a shared folder and it works perfectly fine using a java program. But when I try to use this code in a javascript which is embedded in a ant script file I get the below error. I do see the jcifs-1.3.17.jar…
0
votes
1 answer

JCIFS authenticate with hashed password

I'm using spring-security LDAP to authenticate a user in my application. I want to access a samba share with the authenticated user's credentials. I use the JCIFS library: http://jcifs.samba.org/. Getting the UserDetails from…
acsadam0404
  • 2,711
  • 1
  • 26
  • 36