Getting parameter is incorrect error message in jcifs-1.3.17

Dharini pasupathy <[email protected]> Fri, 17 Apr 2015 22:00:45 +0530
Newsgroups gmane.network.samba.java
Message-ID <CAEoHiOC6qPW5OFtu6YkVrsdOOtEC1EoodJ+TFO5-7CGHu7YGow@mail.gmail.com>
--001a11c351b62454570513ee1a51
Content-Type: text/plain; charset=UTF-8

Hi Team,

My application uses the domain controller of version 2003 for *single
sign-on (sso)* and it is now upgraded to version 2008. Before up-gradation,
I used *jcifs-1.3.14* library and it was perfectly working fine for *sso*.
Now after up-gradation I'm facing compatibility issues with the jcifs
library (jcifs-1.3.14) and the domain controller verison (2008). So,I tried
with *jcifs-1.3.17 and jcifs-1.3.18* jars. I'm getting "*the parameter is
incorrect*" error message during sso. Also I'm using ntlmv2 for
authentication and I dont find any issues with the authentication.

I tried with different jcifs.smb properties to resolve the issue.The
properties which i tried are mentioned below :

"jcifs.smb.lmCompatibility" = "", (values ranges from 0 to 5)
"jcifs.smb.client.useExtendedSecurity" = "", (either true/false)

I tried with all the possible combinations. But no luck yet.Can anyone
please help me to resolve my issue ....

--001a11c351b62454570513ee1a51
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font=
-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,=
sans-serif;line-height:19.5px">Hi Team,</p><p style=3D"margin:0px 0px 1em;p=
adding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica =
Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">My application use=
s the domain controller of version 2003 for=C2=A0<strong style=3D"margin:0p=
x;padding:0px;border:0px">single sign-on (sso)</strong>=C2=A0and it is now =
upgraded to version 2008. Before up-gradation, I used=C2=A0<strong style=3D=
"margin:0px;padding:0px;border:0px">jcifs-1.3.14</strong>=C2=A0library and =
it was perfectly working fine for=C2=A0<strong style=3D"margin:0px;padding:=
0px;border:0px">sso</strong>. Now after up-gradation I&#39;m facing compati=
bility issues with the jcifs library (jcifs-1.3.14) and the domain controll=
er verison (2008). So,I tried with=C2=A0<strong style=3D"margin:0px;padding=
:0px;border:0px">jcifs-1.3.17 and jcifs-1.3.18</strong>=C2=A0jars. I&#39;m =
getting &quot;<strong style=3D"margin:0px;padding:0px;border:0px">the param=
eter is incorrect</strong>&quot; error message during sso. Also I&#39;m usi=
ng ntlmv2 for authentication and I dont find any issues with the authentica=
tion.</p><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font-size:15=
px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-ser=
if;line-height:19.5px">I tried with different jcifs.smb properties to resol=
ve the issue.The properties which i tried are mentioned below :</p><pre sty=
le=3D"margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;wi=
dth:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Con=
sole&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstre=
am Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,sans-serif;word-wrap=
:normal;background-color:rgb(238,238,238)"><code style=3D"margin:0px;paddin=
g:0px;border:0px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;=
,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera S=
ans Mono&#39;,&#39;Courier New&#39;,monospace,sans-serif;white-space:inheri=
t">&quot;jcifs.smb.lmCompatibility&quot; =3D &quot;&quot;, (values ranges f=
rom 0 to 5)
&quot;jcifs.smb.client.useExtendedSecurity&quot; =3D &quot;&quot;, (either =
true/false)
</code></pre><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font-siz=
e:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans=
-serif;line-height:19.5px">I tried with all the possible combinations.=C2=
=A0But no luck yet.Can anyone please help me to resolve my issue ....</p></=
div>

--001a11c351b62454570513ee1a51--