[jcifs] samba server lists wrong shares

Felix Schumacher felix.schumacher at internetallee.de
Wed Mar 30 07:52:56 MDT 2011


 Hi,

 I have a problem which I think is a samba server bug, but I wanted to 
 know, what you think about it.

 I have two users "userA" and "userB" for whom only IPC$ and their home 
 directories are configured. I am using jcifs 1.3.15 and samba 3.5 from 
 OpenSuSE 11.4. I originally experienced this with samba 3.0 SLES10 and 
 jcifs 1.2.16.

 If I (start a new test case) list the shares for "userA" I get the 
 shares IPC$ and userA.
 If I list the shares for "userB" directly afterward in the same test 
 case, I get the shares IPC$, userA and userB.

 I would have expected to get only the shares userB and IPC$.

 I have attached a packet capture of one run of the attached junit test 
 case running locally on my machine.

 What do you think?

 Regards
  Felix
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wrong_share_list.pcap
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20110330/e0c22207/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SmbFileTests.java
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20110330/e0c22207/attachment-0001.ksh>


More information about the jCIFS mailing list