Windows authentication within a Windows Service
- From: "Jim Weaver" <weaver@xxxxxxxxxxxxxxxx>
- Date: Fri, 24 Apr 2009 15:45:31 -0500
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?
.
- Follow-Ups:
- RE: Windows authentication within a Windows Service
- From: "Charles Wang [MSFT]"
- Re: Windows authentication within a Windows Service
- From: Erland Sommarskog
- Re: Windows authentication within a Windows Service
- From: Martin Rakhmanov
- RE: Windows authentication within a Windows Service
- Prev by Date: Re: How to install and configure SQL Server 2005 on Net work and s
- Next by Date: Re: Windows authentication within a Windows Service
- Previous by thread: What permissions are needed to change service account on cluster?
- Next by thread: Re: Windows authentication within a Windows Service
- Index(es):
Relevant Pages
|