[jcifs] Re: smb printers with jcifs
Christopher R.Hertel
crh at ubiqx.mn.org
Sat Jun 15 03:18:49 EST 2002
..the below, of course, being part of the NetShareEnum response.
I found it in the cifsrap document:
Name Value Description
STYPE_DISKTREE 0 Disk Directory Tree
STYPE_PRINTQ 1 Printer Queue
STYPE_DEVICE 2 Communications device
STYPE_IPC 3 Inter process communication (IPC)
Michael (Schulze), you can find this doc at:
http://www.samba.org/samba/ftp/specs/draft-leach-cifs-rap-spec-00.txt
Chris -)-----
On Fri, Jun 14, 2002 at 11:46:35AM -0500, Christopher R.Hertel wrote:
> Hmmm...
>
> I looked a packet trace. I see:
>
> Available Entries: 6
> Available Shares
> Share HOME
> Share Name: HOME
> Share Type: Directory tree (0)
> Share Comment: User Files
> Share D
> Share Name: D
> Share Type: Directory tree (0)
> Share Comment: D drive
> Share C
> Share Name: C
> Share Type: Directory tree (0)
> Share Comment: C drive
> Share PRINTER$
> Share Name: PRINTER$
> Share Type: Directory tree (0)
> Share Comment:
> Share HP560C
> Share Name: HP560C
> Share Type: Printer queue (1)
> Share Comment: HP Deskjet 560 C Color Printer
> Share IPC$
> Share Name: IPC$
> Share Type: IPC (3)
> Share Comment: Remote Inter Process Communication
>
> So the share type is listed in then entry.
> 0 : directory
> 1 : printer queue
> 2 : ??
> 3 : IPC
>
> Michael (Schulze): You know Java. Can you take a look at the code and see
> how jCIFS is deriving the value you are getting? It may be that you need
> to ask the object for the share type as a separate step. I have to admit
> I'm not familiar with that bit of code. Well, I'm not up-to-date on a lot
> of the code because I've been busy writing documentation. :)
>
> Chris -)-----
>
> --
> Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
> ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
>
--
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the jcifs
mailing list