Re: Windows authentication within a Windows Service
- From: Martin Rakhmanov <rakhmanov.martin@xxxxxxxxx>
- Date: Sat, 25 Apr 2009 02:17:44 +0400
Launch a thread inside the service using proper credentials and do connect from it.
Jim Weaver wrote:
I have a java app that runs as a Window's Service. It is configured to log on as Local System. When trying to connect remotely to SQL Server 2005 using Windows Authentication through the SQL Server jdbc client, an exception is raised saying "Login failed for user NT Authority/Anonymous Logon". Changing the Service to log on as particular Window's account resolves the problem, but we'd really prefer not to do that. Is there any other way to "force" sqljdbc.jar or sqljdbc_auth.dll (which ever one is actually "reading" the user id) to use the Windows login rather than the login that the service is running under?.
- References:
- Windows authentication within a Windows Service
- From: Jim Weaver
- Windows authentication within a Windows Service
- Prev by Date: Windows authentication within a Windows Service
- Next by Date: Re: Windows authentication within a Windows Service
- Previous by thread: Windows authentication within a Windows Service
- Next by thread: Re: Windows authentication within a Windows Service
- Index(es):
Relevant Pages
|