WAS 6 NTLM TAI SSO [Desktop SSO]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WAS 6 NTLM TAI SSO [Desktop SSO]

Mihir Shah
Hii have following environment details.
 
Windows 2003 Active Directory as domain controller
WAS 5.1.1.8.
WPS 5.1.0.3
 
Now i have the complied code for custom TAI, and also copied both the files
i.e. jcifs.jar and sso.jar[my compiled TAI jar] to the <WAS_HOME>/lib/ext
folder.
 
I have performed step 1 to step 7 of TAI installation and configuration from
 http://www- 
128.ibm.com/developerworks/websphere/techjournal/0508_benantar/0508_benantar.htm
l .
 
Following are my custom property configuration details.
 
jcifs.netbios.wins = 10.7.100.134 (Domain Controller)
jcifs.smb.client.domain = mydomain
jcifs.smb.client.password = admin$123
jcifs.smb.client.username = administrator
jcifs.util.loglevel = 3
 
But when i log in to the windows system by respected user and then try to login
to the WAS console application.
It prompts NTLM authentication dialog box simillar to basic authentication and
when i provide credentials then it shows errors "Unable to process login.
Please check User ID and password and try again "

Following is the log details..
-------------------------------------------------------------------------------
 
[7/6/06 19:33:27:552 IST] 730e8f92 SystemErr     R #JCIFS PROPERTIES
#Thu Jul 06 19:33:27 IST 2006
java.vendor=IBM Corporation
com.ibm.SOAP.requestTimeout=600
jcifs.netbios.cachePolicy=1200
os.name=Windows 2003
sun.boot.class.path=C\:/WEBSPH~1/APPSER~1/java/jre/lib/ext/ibmorb.jar;C\:/WEBSPH
~1/APPSER~1/java/jre/lib/ext/ibmext.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\core.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\graphics.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\security.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\server.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\xml.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\charsets.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmcertpathprovider.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmjaasactivelm.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmjaaslm.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmjcefw.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmjgssprovider.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmjssefips.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmjsseprovider.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmorb.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmorbapi.jar;C\:\\WEBSPH~1\\APPSER~1
\\java\\jre\\lib\\ibmpkcs.jar
sun.java2d.fontpath=
java.vm.specification.vendor=Sun Microsystems Inc.
java.runtime.version=1.4.2
user.name=Administrator
java.compiler=jitc
was.install.root=C\:/WEBSPH~1/APPSER~1
jcifs.smb.client.domain=mycontroller
db2j.system.home=C\:/WEBSPH~1/APPSER~1/cloudscape
user.language=en
was.repository.temp=C\:\\WebSphere\\AppServer\\config\\temp\\
sun.boot.library.path=C\:\\WEBSPH~1\\APPSER~1\\java\\jre\\bin
jcifs.netbios.wins=10.7.100.134
java.version=1.4.2
user.timezone=Asia/Calcutta
server.root=C\:/WEBSPH~1/APPSER~1
sun.arch.data.model=32
java.endorsed.dirs=C\:\\WEBSPH~1\\APPSER~1\\java\\jre\\lib\\endorsed
file.encoding.pkg=sun.io
file.separator=\\
java.specification.name=Java Platform API Specification
java.class.version=48.0
user.country=US
was.status.socket=3100
java.home=C\:\\WEBSPH~1\\APPSER~1\\java\\jre
java.vm.info=J2RE 1.4.2 IBM Windows 32 build cn1420-20040626 (JIT enabled\:
jitc)
os.version=5.2
jcifs.smb.client.soTimeout=300000
jcifs.smb.client.password=admin$123
java.awt.fonts=
path.separator=;
java.vm.version=1.4.2
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
user.variant=
console.encoding=Cp850
jcifs.smb.client.username=administrator
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.security.policy=C\:/WEBSPH~1/APPSER~1/properties/server.policy
sun.io.unicode.encoding=UnicodeLittle
awt.toolkit=sun.awt.windows.WToolkit
java.assistive=ON
jcifs.util.loglevel=3
user.home=C\:\\Documents and Settings\\Administrator
java.specification.vendor=Sun Microsystems Inc.
invokedviajava=
java.library.path=C\:\\WEBSPH~1\\APPSER~1
\\java\\bin;.;C\:\\WINDOWS\\system32;C\:\\Documents and
Settings\\Administrator\\WINDOWS;C\:\\WebSphere\\AppServer\\bin;C\:\\WebSphere\\
AppServer\\java\\bin;C\:\\WebSphere\\AppServer\\java\\jre\\bin;C\:\\WebSphere\\A
ppServer\\bin;C\:\\WebSphere\\AppServer\\java\\bin;C\:\\WINDOWS\\system32;C\:\\W
INDOWS;C\:\\WINDOWS\\System32\\Wbem;C\:\\WebSphere\\AppServer\\WebSphere
MQ\\bin;C\:\\WebSphere\\AppServer\\WebSphere
MQ\\java\\bin;C\:/WebSphere/AppServer/WebSphere MQ/WEMPS\\bin
java.vendor.url=http\://www.ibm.com/
java.vm.vendor=IBM Corporation
java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn1420-20040626 (JIT enabled\:
jitc)
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.class.path=C\:/WEBSPH~1/APPSER~1/properties;C\:/WEBSPH~1/APPSER~1/propertie
s;C\:/WEBSPH~1/APPSER~1/lib/bootstrap.jar;C\:/WEBSPH~1/APPSER~1/lib/j2ee.jar;C\:
/WEBSPH~1/APPSER~1/lib/lmproxy.jar;C\:/WEBSPH~1/APPSER~1/lib/urlprotocols.jar
ws.ext.dirs=C\:/WEBSPH~1/APPSER~1/java/lib;C\:/WEBSPH~1/APPSER~1/classes;C\:/WEB
SPH~1/APPSER~1/classes;C\:/WEBSPH~1/APPSER~1/lib;C\:/WEBSPH~1/APPSER~1/lib/ext;C
\:/WEBSPH~1/APPSER~1/web/help;C\:/WEBSPH~1/APPSER~1/deploytool/itp/plugins/com.i
bm.etools.ejbdeploy/runtime
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.version=1.0
sun.os.patch.level=Service Pack 1
user.install.root=C\:/WEBSPH~1/APPSER~1
java.io.tmpdir=C\:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\1\\
java.vendor.url.bug=
ibm.system.encoding=Cp1252
os.arch=x86
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
ibm.websphere.preload.classes=true
java.ext.dirs=C\:\\WEBSPH~1\\APPSER~1\\java\\jre\\lib\\ext
user.dir=C\:\\WEBSPH~1\\APPSER~1
com.ibm.itp.location=C\:/WEBSPH~1/APPSER~1/bin
line.separator=\r\n
java.vm.name=Classic VM
java.security.auth.login.config=C\:/WEBSPH~1/APPSER~1/properties/wsjaas.conf
com.ibm.vm.bitmode=32
file.encoding=Cp1252
java.specification.version=1.4
[7/6/06 19:33:27:552 IST] 730e8f92 SystemErr     R JCIFS NTLM TAI module
initialized
[7/6/06 19:34:34:179 IST] 1c0b4f91 SystemErr     R JCIFS NTLM TAI will handle
this auth request.
[7/6/06 19:34:34:179 IST] 1c0b4f91 SystemErr     R JCIFS NTLM TAI: NTLM Step 1:
WWW-Authenticate NTLM
[7/6/06 19:34:43:289 IST] 1d98cf91 SystemErr     R JCIFS NTLM TAI will handle
this auth request.
[7/6/06 19:34:46:383 IST] 1d98cf91 SystemErr     R JCIFS NTLM Authentication
failed: UnknownHostExceptionmycontroller
[7/6/06 19:34:48:383 IST] 25b1cf91 SystemErr     R
java.net.SocketTimeoutException: Receive timed out
[7/6/06 19:34:48:383 IST] 25b1cf91 SystemErr     R at
java.net.PlainDatagramSocketImpl.receive(Native Method)
[7/6/06 19:34:48:383 IST] 25b1cf91 SystemErr     R at
java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:130)
[7/6/06 19:34:48:383 IST] 25b1cf91 SystemErr     R at
java.net.DatagramSocket.receive(DatagramSocket.java:734)
[7/6/06 19:34:48:383 IST] 25b1cf91 SystemErr     R at
jcifs.netbios.NameServiceClient.run(NameServiceClient.java:184)
[7/6/06 19:34:48:399 IST] 25b1cf91 SystemErr     R at java.lang.Thread.run
(Thread.java:567)


Kindly guide me to solve this problem as early as possible.
 
Waiting for your positive response on this.
 
Regards,
Mihir