Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Equivalent of GetObject("WinNT:") in JSP  RSS feed

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are trying to authenticate the user by using the NT User List. We want to convert our ASP code to JSP. Please see the code below.
set ADSIWinNT = GetObject("WinNT:")
set oWinNTUser = ADSIWinNT.OpenDSObject
(strADSPath, strDomainName & "\" &
strUsername,strPassword, 1)

Thanks!
 
ajay chaturvedi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you want to do?
PAM_Auth might help you look for winbindd and nmblookup of samba suit if you are on linux,
else i think its not possible for pure jsp to do this as ASP get NT's internal information through a propritery protocol which is not available for non-MS technology.
hope it helps
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!