<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.network.samba.java">
    <title>gmane.network.samba.java</title>
    <link>http://blog.gmane.org/gmane.network.samba.java</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9181"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9179"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9175"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9165"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9163"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9160"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9157"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9156"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9150"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9147"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9144"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9143"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9138"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9137"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9123"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9109"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9108"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9105"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9103"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.network.samba.java/9101"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9181">
    <title>Mac to windows File name conversion</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9181</link>
    <description>&lt;pre&gt;Hi All,

We have an application to transfer file from mac to windows using smb(JCIFS) and another application in windows to handle these files. But when there is a invalid character like \ / : * ? " &amp;lt; &amp;gt; |  in filename , it will get converted to another character. This creates issue in filename comparison issues, since we are saving actual filename in database.
How smb converts these filenames?
Is there any specific rule for this character conversion, so that we can use that converted characters in database?

Regards,
Roy Mathew
&lt;/pre&gt;</description>
    <dc:creator>Roy Mathews</dc:creator>
    <dc:date>2012-05-16T09:10:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9179">
    <title>KerberosAuthExample Double Service Ticket Request</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9179</link>
    <description>&lt;pre&gt;
So I'm trying to get the KerberosAuthExample to work with the latest jCIFS 
download: cifs-krb5-1.3.17

java -Djcifs.properties=jcifs.prp KerberosAuthExample bozo password 
smb://host.domain.name/C$/ dc1.domain.name DOMAIN.NAME

Via WireShark, the TGT and the TGS for cifs/host.domain.com are both 
successful, but after successfully creating the SmbFile object, line 50 of 
KerberosAuthExample.java does this seemingly innocent call:

       SmbFile[] files = file.listFiles();

For some reason, this triggers a second TGS request for cifs/xxx.xxx.xxx.xxx 
(IP address) which fails with unknown service on the AD side.   From debugging 
the code, it appears the code is simply trying to find the type of "C$" and 
needs a connection to do so, but the fact this generates a second TGS request 
(when it shouldn't need it) and it does so with the IP address rather than the 
host name seems to be wrong.  So a couple questions:

1. Shouldn't treeConnect just reuse the current service ticket?
2. If not, why is it trying to&lt;/pre&gt;</description>
    <dc:creator>Mike Patnode</dc:creator>
    <dc:date>2012-05-09T21:32:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9175">
    <title>Patch Suggestion</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9175</link>
    <description>&lt;pre&gt;We are investigating the use of jCIFS in one of our products. To monitor our error logs we use splunk which depends on each log having a timestamp.
Would it be possible to format the logs jCIFS creates so that they have a time stamp?

Here is my suggested change to the LogStream class:
Add an overrided version of println()

    &amp;lt; at &amp;gt;Override
    public void println(String x)
    {
       String newLine = System.getProperty("line.separator");
       //Format the error before printing it. Will look like this
       //Mon Apr 30 04:06:05 MDT 2012
       //  Source: jCIFS Error Logging
       //  ERROR: x
       super.println(new java.util.Date().toString() + newLine + "  Source: jCIFS Error Logging " + newLine + "  ERROR: " + x);
    }

Hardy

________________________________

This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the &lt;/pre&gt;</description>
    <dc:creator>Hardy Cherry</dc:creator>
    <dc:date>2012-04-30T17:07:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9165">
    <title>Random problems connecting to DFS server</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9165</link>
    <description>&lt;pre&gt;I've been seeing many errors that have a final stack trace of
jcifs.smb.Dfs.resolve(Dfs.java:169) (jCIFS 1.3.17):

java.lang.NullPointerException
        at jcifs.smb.Dfs.resolve(Dfs.java:169)
        at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:671)
        at jcifs.smb.SmbFile.getDfsPath(SmbFile.java:1536)
        at ListFiles.main(ListFiles.java:45)

I'm using a slightly modified ListFiles.java to test this. I have a list
of 12608 directories, which all exist. If I invoke ListFiles for each
directory separately, it completes fine. If I invoke it once for all
directories, it will fail after reading about 3000 directories. If I add
a test to see if the path exists before calling listFiles(), the problem
goes away. I don't know if it is an issue of timing or whether the
exists() call does something that avoids the problem. Once the problem
starts all remaining  directories have the same problem.

I added a getDfsPath() call (and printed the result) thinking that might
point in a particular direction. When I &lt;/pre&gt;</description>
    <dc:creator>Simon Weatherill</dc:creator>
    <dc:date>2012-04-16T19:53:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9163">
    <title>LM Auth level and lmCompatibility/useExtendedSecuritysettings</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9163</link>
    <description>&lt;pre&gt;Hello,

This question is partly about JCIFS and since I am not too familar with Windows
 settings, it is partly about the Windows "Network Security: LAN Manager
 authentication level" setting in Local Security Policy/Domain Security Policy.

I am trying to use the JCIFS HTTP Servlet Filter for NTLM authentication for a
 java web application running in a web container (JBoss, Weblogic, Websphere). I
 have read the page "JCIFS NTLM HTTP Authentication" and other pages on the
 JCIFS site, as well as browsed the mailing list archives.

I understand that the JCIFS HTTP NTLM filter only supports NTLM v1. So what does 
 that translate to in terms of the above Windows setting and the corresponding
 JCIFS settings? Specifically, in order to use the JCIFS filter, what values do
 I need to set the following to:

1. On Domain Controller machine, Domain Controller Security Policy -&amp;gt; 
LAN Manager authentication level
2. On Domain Controller machine, Domain Security Policy -&amp;gt; LAN Manager 
authentication level
3. On the mac&lt;/pre&gt;</description>
    <dc:creator>Sameer Pradhan</dc:creator>
    <dc:date>2012-04-15T03:17:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9160">
    <title>leading space char in smb file name</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9160</link>
    <description>&lt;pre&gt;Hi,
I had a problem with the SmbFile.
I had a file with name "smb://server/share/folder/ foo.bar" on a smb server  ( foo.bar with leading blank). This file was created with jcifs, but calling 
new SmbFile("smb://server/share/folder/").listFiles[0].getName() only returns "foo.bar" with no leading blank. 

Before I had this problem, I didn't believe that it is possible to have files with leading blanks...

I've analyzed the problem, and figured out, that everything is transfered correct from the server to jcifs.
In the internal variable unc the path is stored with blank, but in canon, what is used for get name it's not.

I hope that helps improving jcifs

Regards

Michael

&lt;/pre&gt;</description>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-11T21:21:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9157">
    <title>help me!!!</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9157</link>
    <description>&lt;pre&gt;hi:
   i use jcifs-ext-0.9.jar  to  add user,change password
   when i operate windows server2003 it ok,but 2008 server can not
create,and change password.

    can you help me !

&lt;/pre&gt;</description>
    <dc:creator>Wu Xin</dc:creator>
    <dc:date>2012-04-07T13:00:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9156">
    <title>Problem with Windows 7 NTLM authentication</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9156</link>
    <description>&lt;pre&gt;Dear all,

May someone help me.

I experience an error now with jcifs-1.2.25.jar package.

I was using this authentication jar without any problems under our Windows
XP SP3 network.

Now after some tests on Windows 7 I have a failure at the authentication.
Here is the log of my application portal.

Regards

************************************************************************************************************

jcifs.smb.SmbException: Transport37 timedout waiting for response to
SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=0,flags=0x0018,flags2=0xC003,signSeq=0,tid=0,pid=56368,uid=0,mid=13,wordCount=13,byteCount=99,andxCommand=0x75,andxOffset=160,snd_buf_size=16644,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,passwordLength=24,unicodePasswordLength=0,capabilities=4180,accountName=adundas,primaryDomain=AMAIISLAB,NATIVE_OS=Windows
2003,NATIVE_LANMAN=jCIFS]
jcifs.util.transport.TransportException: Transport37 timedout waiting for
response to
SmbComSessionSetupAndX[command=SM&lt;/pre&gt;</description>
    <dc:creator>David Camerlo</dc:creator>
    <dc:date>2012-04-03T13:28:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9150">
    <title>version 1.3.17 and 1.3.14 broken for NetApp DataFort</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9150</link>
    <description>&lt;pre&gt;Connecting to an encrypted NetApp DataFort share does not work with jcifs 1.3.17
and 1.3.14. It does work, however, with versions 1.2.24 and 1.1.11 (these were
the ones I tested with). 

Although the user/password is correct the following exception is thrown:

jcifs.smb.SmbAuthException: The specified network password is not correct.
      at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:546)
~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbTransport.send(SmbTransport.java:663) ~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:316)
~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbSession.send(SmbSession.java:218) ~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176) ~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbTree.send(SmbTree.java:74) ~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbFile.send(SmbFile.java:775) ~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1986) ~[jcifs-1.3.17.jar:na]
      at jcifs.smb.SmbFile.doEnum(SmbF&lt;/pre&gt;</description>
    <dc:creator>Erwin Kloeck</dc:creator>
    <dc:date>2012-03-26T15:11:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9147">
    <title>Owner SID ?</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9147</link>
    <description>&lt;pre&gt;Hi folks,

My understanding is that getting the owner SID of a SmbFile is currently 
unsupported (there is a patch for that, but quite old)

It is possible to acheive this somehow through SmbFile.getSecurity() ? 
Crawling through ACLs shows the owner, but without any interesting 
distinct flags unfortunately.

Thanks for any hints

&lt;/pre&gt;</description>
    <dc:creator>Xavier Roche</dc:creator>
    <dc:date>2012-03-21T09:07:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9144">
    <title>SMB Error 0xC0000205 (STATUS_INSUFF_SERVER_RESOURCES)</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9144</link>
    <description>&lt;pre&gt;Hi everyone,
First off, let me say thank you for developing jCIFS.  It has been very helpful, 
and I appreciate your hard work and help.

I'm having an issue on a Windows Server 2008 R2 64-bit system where sometimes I 
get SMB Error 0xC0000205 returned when instantiating an SmbFileOutputStream with 
an SmbFile.  Here's the relevant portion of the stack trace using jcifs-
1.3.17.jar,        
Caused by: jcifs.smb.SmbException: 0xC0000205
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:563)
at jcifs.smb.SmbTransport.send(SmbTransport.java:663)
at jcifs.smb.SmbSession.send(SmbSession.java:238)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:775)
at jcifs.smb.SmbFile.open0(SmbFile.java:989)
at jcifs.smb.SmbFile.open(SmbFile.java:1006)
at jcifs.smb.SmbFileOutputStream.&amp;lt;init&amp;gt;(SmbFileOutputStream.java:142)
at jcifs.smb.SmbFileOutputStream.&amp;lt;init&amp;gt;(SmbFileOutputStream.java:97)
at jcifs.smb.SmbFileOutputStream.&amp;lt;init&amp;gt;(SmbFileOutputStream.java:67)

Now, I'm pretty conv&lt;/pre&gt;</description>
    <dc:creator>John McCarthy</dc:creator>
    <dc:date>2012-03-15T20:26:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9143">
    <title>Latest JCIFS in a Maven repository?</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9143</link>
    <description>&lt;pre&gt;Hi there,

Google has found me a number of emails and JIRA issues on this subject already, but I wonder why the latest JCIFS library is not present in any of the standard Maven repositories. The latest one I can find&amp;lt;http://mvnrepository.com/artifact/org.samba.jcifs/jcifs&amp;gt; is 1.3.3, but that version is more than three years old and 1.3.17 fixes a lot of issues.

The reason I am asking is that I am one of the authors of Overthere&amp;lt;https://github.com/xebialabs/overthere&amp;gt;, a remote process execution and file manipulation framework. It depends on JCIFS for access to SMB shares and we've recently discovered an issue&amp;lt;https://github.com/xebialabs/overthere/issues/35&amp;gt; that can be fixed by upgrading to JCIFS 1.3.17. We could include JCIFS 1.3.17 in a lib directory or upload it to our private Maven repository but doing so will make it impossible for other contributors to build the library as they cannot get that dependency.

Can I help with making JCIFS available on a Maven repo? I've found doing so for Overthere was p&lt;/pre&gt;</description>
    <dc:creator>Vincent Partington</dc:creator>
    <dc:date>2012-03-15T19:35:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9138">
    <title>NullPointerException at SmbFile.getType()</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9138</link>
    <description>&lt;pre&gt;Hi,

When i want to get the type of a share, the following code produces a
NullPointerException:

new SmbFile("smb://MYSERVER/share/", auth).getType()

Exception in thread "main" java.lang.NullPointerException
   at jcifs.smb.SmbFile.getType(SmbFile.java:1285)
    ....

Null-object is "service" ("this.tree.service")

It happens when when the auth given contains invalid credentials.
Remote server: Debian with samba 3.4.7.
JCIFS: 1.3.17 patched with GetOwnerSid.patch


&lt;/pre&gt;</description>
    <dc:creator>rmillet</dc:creator>
    <dc:date>2012-03-12T18:59:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9137">
    <title>Encrypted communication over named pipes?</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9137</link>
    <description>&lt;pre&gt;Hi,

I just finished my latest tool that allows me to remote-control a cmd-window on allmost any Windows machine. Now I am thinking of ways to secure the connection. One thing I found relatively anoying with Sysinternals PSExec was that communication was handled unencrypted and input as well as server responses were transmitted in plain text.

Is there a way to encrypt the named pipe communication? I was thinking about implementing a symmetric encryption channel simply encoding what I send in and decrypt what I get out, but I wanted to avoid having to implement the key negotiation logic. So is there allready something available?

Chris


[ C h r i s t o f e r  D u t z ]

C-Ware IT-Service
Inhaber
Dipl. Inf. Christofer Dutz
Karlstraße. 104, 64285 Darmstadt

[cid:image001.gif&amp;lt; at &amp;gt;01CD0057.14E1CEB0]&amp;lt;http://www.benchpark.com/788335/kundenzufriedenheit.htm&amp;gt;
   IT- und Systemhäuser&amp;lt;http://www.benchpark.com/it_und_systemhaeuser.htm&amp;gt;

fon:  0 61 51 / 27315 - 61
fax:  0 61 51 / 27315 - 64
mobil:  0171 / 7 444 2 33
emai&lt;/pre&gt;</description>
    <dc:creator>christofer.dutz&lt; at &gt;c-ware.de</dc:creator>
    <dc:date>2012-03-12T12:50:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9123">
    <title>Help Accessing SVCCTL Pipe on remote Server</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9123</link>
    <description>&lt;pre&gt;Hi,

I am currently working on a tool for which I need to access a remote Windows machines services. I tried to access the SVCCTL pipe and communicate with it ... but unfortunately without success. I found A tool with which I could do what I want out of the box (Alfresco JLan), but I would rather stick with JCIFS as I did encounter some issues in Named-Pipe communication and I don't want to mix up the frameworks in one project. JCIFS for file transfer and named pipe communication and JLan for accessing the services.

If anyone here on this list would be willing to provide me with an JCIFS based example that connects to a remote Windows and displays the details of running Services, I am willing to pay for the effort. So if you are interested, please contact me off list. I think it should probably be an easy task for a JCIFS pro.

Help greatly appreciated,
       Chris


[ C h r i s t o f e r  D u t z ]

C-Ware IT-Service
Inhaber
Dipl. Inf. Christofer Dutz
Karlstraße. 104, 64285 Darmstadt

fon:  0 61 51 / 273&lt;/pre&gt;</description>
    <dc:creator>christofer.dutz&lt; at &gt;c-ware.de</dc:creator>
    <dc:date>2012-03-07T16:17:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9109">
    <title>Possible deadlocking between jcifs.smb.Dfs andjcifs.smb.SmbTransport</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9109</link>
    <description>&lt;pre&gt;Hi folks!

[ Issue found in jcifs 1.3.17 ]

jcifs.smb.Dfs and jcifs.smb.SmbTransport seems to be deadlocking due to 
Mutex ordering mismatch in the code.

[ Is it safe to use SmbFile in two different threads simultaneously, or 
does it need to be synchronized too ? ]

Typical example: in the following two threads, the locking ordering is 
different

Thread 1:
jcifs.smb.SmbTransport.getSmbSession(SmbTransport.java:126)
**** LOCKED(SmbTransport):
synchronized SmbSession getSmbSession
jcifs.smb.SmbTransport.getDfsReferrals(SmbTransport.java:701)
jcifs.smb.Dfs.getReferral(Dfs.java:143)
jcifs.smb.Dfs.resolve(Dfs.java:191)
**** LOCKED(Dfs):
public synchronized DfsReferral
jcifs.smb.SmbFile.doConnect(SmbFile.java:902)
jcifs.smb.SmbFile.connect(SmbFile.java:954)
jcifs.smb.SmbFile.connect0(SmbFile.java:880)
jcifs.smb.SmbFile.queryPath(SmbFile.java:1335)
jcifs.smb.SmbFile.exists(SmbFile.java:1417)
jcifs.smb.SmbFile.isDirectory(SmbFile.java:1490)
&amp;lt;client code&amp;gt;

Thread 2:
jcifs.smb.Dfs.insert(Dfs.j&lt;/pre&gt;</description>
    <dc:creator>Xavier Roche</dc:creator>
    <dc:date>2012-02-29T16:33:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9108">
    <title>Possible deadlocking between jcifs.smb.Dfs andjcifs.smb.SmbTransport</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9108</link>
    <description>&lt;pre&gt;Hi folks!

[ Issue found in jcifs 1.3.17 ]

jcifs.smb.Dfs and jcifs.smb.SmbTransport seems to be deadlocking due to 
Mutex ordering mismatch in the code.

[ Is it safe to use SmbFile in two different threads simultaneously, or 
does it need to be synchronized too ? ]

Typical example: in the following two threads, the locking ordering is 
different

Thread 1:
jcifs.smb.SmbTransport.getSmbSession(SmbTransport.java:126)
**** LOCKED(SmbTransport):
synchronized SmbSession getSmbSession
jcifs.smb.SmbTransport.getDfsReferrals(SmbTransport.java:701)
jcifs.smb.Dfs.getReferral(Dfs.java:143)
jcifs.smb.Dfs.resolve(Dfs.java:191)
**** LOCKED(Dfs):
public synchronized DfsReferral
jcifs.smb.SmbFile.doConnect(SmbFile.java:902)
jcifs.smb.SmbFile.connect(SmbFile.java:954)
jcifs.smb.SmbFile.connect0(SmbFile.java:880)
jcifs.smb.SmbFile.queryPath(SmbFile.java:1335)
jcifs.smb.SmbFile.exists(SmbFile.java:1417)
jcifs.smb.SmbFile.isDirectory(SmbFile.java:1490)
&amp;lt;client code&amp;gt;

Thread 2:
jcifs.smb.Dfs.insert(Dfs.j&lt;/pre&gt;</description>
    <dc:creator>Xavier Roche</dc:creator>
    <dc:date>2012-02-29T16:34:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9105">
    <title>Possible deadlocking between jcifs.smb.Dfs andjcifs.smb.SmbTransport</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9105</link>
    <description>&lt;pre&gt;Hi folks!

[ Issue found in jcifs 1.3.17 ]

jcifs.smb.Dfs and jcifs.smb.SmbTransport seems to be deadlocking due to 
Mutex ordering mismatch in the code.

[ Is it safe to use SmbFile in two different threads simultaneously, or 
does it need to be synchronized too ? ]

Typical example: in the following two threads, the locking ordering is 
different

Thread 1:
jcifs.smb.SmbTransport.getSmbSession(SmbTransport.java:126)
**** LOCKED(SmbTransport):
synchronized SmbSession getSmbSession
jcifs.smb.SmbTransport.getDfsReferrals(SmbTransport.java:701)
jcifs.smb.Dfs.getReferral(Dfs.java:143)
jcifs.smb.Dfs.resolve(Dfs.java:191)
**** LOCKED(Dfs):
public synchronized DfsReferral
jcifs.smb.SmbFile.doConnect(SmbFile.java:902)
jcifs.smb.SmbFile.connect(SmbFile.java:954)
jcifs.smb.SmbFile.connect0(SmbFile.java:880)
jcifs.smb.SmbFile.queryPath(SmbFile.java:1335)
jcifs.smb.SmbFile.exists(SmbFile.java:1417)
jcifs.smb.SmbFile.isDirectory(SmbFile.java:1490)
&amp;lt;client code&amp;gt;

Thread 2:
jcifs.smb.Dfs.insert(Dfs.j&lt;/pre&gt;</description>
    <dc:creator>Xavier Roche</dc:creator>
    <dc:date>2012-02-29T16:42:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9103">
    <title>List many workgroups/domains</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9103</link>
    <description>&lt;pre&gt;Hi,

I have some issue when I want to list all domains and workgroups on my
network:

- I have one domain controller (Windows 2008) and one workstation (Windows
XP) on the domain MYDOMAIN.
- I boot a debian on the workgroup MYWORKGROUP,
and then (a few minutes after debian is up) I do:

new SmbFile("smb://").listfiles();

which only returns MYWORKGROUP.

tcpdump shows that both debian and windows XP answer to the MSBROWSE query,
but only debian is asked for known domains.

Both workgroup and domain are returned when I wait several minutes after
debian is up.

Is there a way to force listfiles to ask all master browser servers,
because I can't rely on the "stability" of my network (many workgroups,
many computers often connected/disconnected) ?

Thanks,




PS: by the way, JCIFS it's a great library.
&lt;/pre&gt;</description>
    <dc:creator>rmillet</dc:creator>
    <dc:date>2012-02-28T18:34:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9101">
    <title>java.io.IOException: Unexpected DCERPC PDU header</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9101</link>
    <description>&lt;pre&gt;Getting the following exception:


java.io.IOException: Unexpected DCERPC PDU header
at
jcifs.dcerpc.DcerpcPipeHandle.doReceiveFragment(DcerpcPipeHandle.java:77)
at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:213)
at jcifs.smb.SmbFile.doMsrpcShareEnum(SmbFile.java:1864)
at jcifs.smb.SmbFile.doShareEnum(SmbFile.java:1777)
at jcifs.smb.SmbFile.doEnum(SmbFile.java:1723)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1702)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1635)



NetShareEnum[command=SMB_COM_TRANSACTION,received=false,errorCode=0,flags=0x0018,flags2=0xC803,signSeq=0,tid=63,pid=38680,uid=63,mid=15,wordCount=14,byteCount=46,totalParameterCount=19,totalDataCount=0,maxParameterCount=8,maxDataCount=65023,maxSetupCount=0,flags=0x00,timeout=5000,parameterCount=19,parameterOffset=90,parameterDisplacement=0,dataCount=0,dataOffset=110,dataDisplacement=0,setupCount=0,pad=0,pad1=1]
00000: FF 53 4D 42 25 00 00 00 00 18 03 C8 00 00 00 00  |Ã¿SMB%......Ãˆ....|
00010: 00 00 00 00 00 00 00 00 3F 00 1&lt;/pre&gt;</description>
    <dc:creator>talis</dc:creator>
    <dc:date>2012-02-26T16:09:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.network.samba.java/9097">
    <title>idle sessions on netapp filer</title>
    <link>http://comments.gmane.org/gmane.network.samba.java/9097</link>
    <description>&lt;pre&gt;Hi all,

we use JCIFS to list, up- and download files on NetApp-filers.
There are many users connecting to a number of shares located on 
different filers. Each user connects to only one share.
The actions are running in own threads.

Under some circumstands we notice idle sessions on the filer not being 
cleaned up after jcifs.smb.client.soTimeout. This sessions will never  
cleaned up. We found out that uploads forces the problem.

I wrote a testclient to isolate the problem.
This client starts some lists, downloads and uploads with random delay.
Lists and downloads seem not to enforce this problem, only uploads. When 
we start round about 10 uploads, the problem occurs. Not in every case 
but more often the more uploads are running.

In the management console of the filer are a lot of open files, not only 
uploads but even downloads. They remain even after the testclient will 
be terminated. They must be killed manually on the filer.

Has anyone an idea what happened and how to prevent from this problem?
&lt;/pre&gt;</description>
    <dc:creator>Volker Müller</dc:creator>
    <dc:date>2012-02-17T08:57:38</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.network.samba.java">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.network.samba.java</link>
  </textinput>
</rdf:RDF>

