[jcifs] No Access Exception Question

Yibo Dong ydong at mail.arc.nasa.gov
Tue Jul 9 03:01:53 EST 2002


I have downloaded your jcifs package and are using the following pair in
a Windows 2000 environment (machine name: ydong, domain name: not used,
group name: CDS) to test:

createnp \\.\pipe\name

CallNamedPipe smb://ydong/IPC$/PIPE/name c:\JCIFSTest\pipes\inFile.txt

The call "out.write( b, 0, n )" in CalledNamedPipe.java results in the
following access exception:

jcifs.smb.SmbAuthException: Access denied 	at
jcifs.smb.SmbTransport.sendTransaction(SmbTransport.java:626) 	at
jcifs.smb.SmbSession.sendTransaction(SmbSession.java:123) 	at
jcifs.smb.SmbTree.sendTransaction(SmbTree.java:65) 	at
jcifs.smb.SmbFile.sendTransaction(SmbFile.java:456) 	at
java:62) 	at CallNamedPipe.main(CallNamedPipe.java:44) Exception in thread

I also tried with my own version of a named pipe creation program and
got the same error.

Where should I look into to fix the problem?

TIA for your help,


More information about the jcifs mailing list