<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="font-size: 13.3333330154419px;">We are having trouble getting the jCIFS client to work with the newer SMBX.   I have a 10.7.5 test machine where we have been testing.   If I turn off SMBX and turn on the SMBUp everything works as expected.   I am
 wonder if we need some client properties set to get it to work.   We have been testing with this snippet of code</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">   NtlmPasswordAuthentication ntlm = new NtlmPasswordAuthentication( ntdom, user, pass );</div>
<div style="font-size: 13.3333330154419px;">   try {</div>
<div style="font-size: 13.3333330154419px;">    SmbFile f1 = new SmbFile( "smb://@"+host+"/",ntlm );</div>
<div style="font-size: 13.3333330154419px;">   </div>
<div style="font-size: 13.3333330154419px;">    files = f1.list();</div>
<div style="font-size: 13.3333330154419px;">    for( int i=0; i< files.length; i++) {</div>
<div style="font-size: 13.3333330154419px;">      out.println( "<tr><td></td><td>" + files[i] + "</td></tr>");</div>
<div style="font-size: 13.3333330154419px;">    }</div>
<div style="font-size: 13.3333330154419px;">   </div>
<div style="font-size: 13.3333330154419px;">   }catch(Exception e){</div>
<div style="font-size: 13.3333330154419px;">   <span class="Apple-tab-span" style="white-space: pre;">
</span>e.printStackTrace();</div>
<div style="font-size: 13.3333330154419px;">   </div>
<div style="font-size: 13.3333330154419px;">   }</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">Yields....</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">
<div>INFO  (09/03) 13:39:41 [stderr](Thread qtp1493657028-148): jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.</div>
<div>INFO  (09/03) 13:39:41 [stderr](Thread qtp1493657028-148):      at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:406)</div>
<div>INFO  (09/03) 13:39:41 [stderr](Thread qtp1493657028-148):      at jcifs.smb.SmbSession.send(SmbSession.java:218)</div>
</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;"><br>
</div>
<div style="font-size: 13.3333330154419px;">I can get you the full debug of this code working ( SMBup / Samba ) and with it not working ( SMBX ).   I can also get packet traces of the same.</div>
<div style="font-size: 13.3333330154419px;"><br>
<div><font size="2" face="Tahoma">
<p class="MsoNormal" style="margin: 0in 0in 0pt; font-family: Calibri, sans-serif;">
<font size="2">Roger Thomas</font></p>
</font></div>
</div>
</div>
</body>
</html>