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
2 answers

FIlter chain cycling issue - More than 100 threads work in back?

I have a weird case with my filters. I want to catch exceptions thrown from JCIFS Ntlm Http filter. Filter chain starts from my custom filter and I have surrounded chain.doFilter() part with try-catch block to be able to redirect response if any…
Zaur Guliyev
  • 4,254
  • 7
  • 28
  • 44
0
votes
3 answers

IE Securty Zone Issues

I'm developing a website which will be used in the corporate intranet which uses JCIFS and NTLM to automatically authenticate the users without asking them to log on. Everything seems to be working in IE 6, but some users are being prompted for…
Andrew Hampton
  • 1,632
  • 3
  • 20
  • 29
0
votes
1 answer

jcifs.smb.NtStatus - NT_STATUS_INVALID_HANDLE

I have a question what the following error / error code means: NT_STATUS_INVALID_HANDLE in the class jcifs.smb.NtStatus. This is from "The Java CIFS Client Library" I am trying to figure out when exactly this error occurs. Does it happen when the…
Girish
  • 93
  • 8
0
votes
0 answers

Android SDK : Samba server streaming video to Android using VideoView?

I need play video from samba to android device streaming. I've been look for this question and someone say that : Using JCIFS to scan for and "see" the share: http://jcifs.samba.org/ Implementing a simple HTTP server (NanoHttpd) to stream the…
henry4343
  • 3,871
  • 5
  • 22
  • 30
0
votes
1 answer

Client not found in Kerberos database

I use CAS and Spnego-support,and KDC is 192.168.1.244,my realm is EXAMPLE.COM I test my local Windows domain enviroment,and i can got ticket from Example.com I test it by "kinit" command,but in CAS spnego enviroment,There is a exception Client not…
MagiX
  • 1
  • 1
  • 5
0
votes
0 answers

Java - Variable scope misunderstanding - Causing NullPointerException error

I am trying to create an SmbFileInputStream from an SmbFile and NtlmPasswordAuthentication. I instantiate the SmbFileInputStream outside of my try-catch block so the scope will not be limited to the try-catch block. I do the same thing for my…
Tyler Wood
  • 35
  • 8
0
votes
1 answer

NTLM Authentication works on eclipse but tomcat gives 401 unauthorized

I used JCIFS to make NTLM authentication, it works fine as a stand alone application but when I deploy this module to tomcat server 5.5 I get 401 unauthorized, however I am able to run it on the same machine using same credentials but on eclipse as…
Taha
  • 11
  • 3
0
votes
1 answer

Unable to read tiff images off Networked Windows PC using JCIFS and jai imageio

I have a webapp running on Java 6 in Tomcat 6. ImageIO.read is returning null. It attempts to retrieve tiff images from a computer on the same [Windows] network. To do this, I use JCIFS as auth, and jai to read the images. In QA, this works, I…
Gavin Fitzgerald
  • 396
  • 1
  • 4
  • 14
0
votes
1 answer

jcifs cannot write new line to text file

I'm writing a file from android device to windows folder all contents are intact but i'm not able to write a new line NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(null,nam,p); file = new SmbFile(url, auth); …
Anup
  • 4,024
  • 1
  • 18
  • 27
0
votes
1 answer

Login on smb with java

I'm trying to get a list of Files of a smb-share secured with user and password. This is working perfectly. But if I try to open a file on the smb-share, windows requires me to login again in an prompt. I have the required username and password. Can…
jussi
  • 2,166
  • 1
  • 22
  • 37
0
votes
1 answer

Reading information from CIFS / SMB with an Android application

I've been attempting to develop an android application that can pull information from a CIFS / SMB protocol. I've tried JCIFS and keep getting errors with my eclipse application not being able to read the package (even after I've Javadoc'd it), and…
tsoup
  • 58
  • 7
0
votes
1 answer

Java: How to copy from network using credentials to local folder

It seems that Java cannot use windows credentials. I need to copy files from server that requires credentials to local folder. I used "JCIFS" plugin to copy from server using SMB protocol. But in this case I can only copy to local machine using smb…
maxmimko
  • 51
  • 1
  • 4
0
votes
1 answer

SAXException with respect to JCIFS

In a functionality I framed a logic to read values from an uploaded xml file which is located in a remote protect share folder using JCIFS' SmbFile concept as follows: String JAXP_SCHEMA_LANGUAGE =…
IMJS
  • 863
  • 2
  • 13
  • 25
0
votes
3 answers

Connecting to PC to view shared folders from Android device

I am working on a samba client for Android. Given an IP address it should connect to it and browse the shared folders. For this I use JCIFS. I dropped the jar in my Android project and added following code to connect to PC and get the list of…
Andy Res
  • 15,963
  • 5
  • 60
  • 96
0
votes
2 answers

How can you tell where a particular instance of JCIFS is running?

At my company, I have been getting locked out of my Windows account every morning for over a year. The company IS keeps telling me that a computer with the name jcifs3_188_b5 is pushing a bad password every 20 minutes. They also tell me that this…
Randy
  • 908
  • 12
  • 30