KerberosToken constructor gives error - Kerberos credential handle could not be returned
Hi,
I am tryin to work with Web Service Enhancement 2.0 to use Kerberos
token. I have Windows XP SP2 installed on my m/c which is connected in
an Active Directory Domain.
When I try to execute the following code :
KerberosToken kerbToken = new KerberosToken( "host/" + "ps4442" + "@"
+ "PERSISTENT");
I get this error -
"An unhandled exception of type 'System.Security.SecurityException'
occurred in microsoft.web.services2.dll
Additional information: The Kerberos credential handle could not be
acquired. The AcquireCredentialsHandle call returned the following
error code: The parameter is incorrect."
What can I do to avoid getting this error? I am not understanding at
all. I also tried investigating AcquireCredentialsHandle, but couldn't
understand what is going wrong.
What should I do? Can anybody help?
Regards,
Shruti
.
Relevant Pages
- Re: WSE 2.0 Kerberostoken creation on IIS 5.0/win2k fails
... the asp.net worker process identity must be a domain account then. ... > I have a ASP.NET web app in which I am trying to create a Kerberos ... > AcquireCredentialsHandle call returned the following error code: ... (microsoft.public.dotnet.security) - Re: gss_display_status question
... We are trying to log Kerberos errors using gss_display_status. ... For start-up performance reasons, we delay this initialization until the first time certain "interesting" operations are invoked, like krb5_init_context, but any path that should be able to return such error codes should cause the initialization to be done. ... (There are also library finalization functions, implemented in an OS- specific manner, which will discard the dynamic storage allocated by the library init function and other global storage used by the library. ... (Though if you're passing in an error code from outside the process, and gss_acquire_cred doesn't call into the Kerberos library for whatever reason, it would be the expected result.) ... (comp.protocols.kerberos) - Re: Kerberos 4 Authentication
... > Using Kerberos for Windows 2.6.5, I am trying to get a Kerberos 4 ticket ... > with what I am 100% sure is a correct password, ... > would get a bad password error code when the password is correct? ... This KDC is an OpenAFS 1.0.4 kaserver. ... (comp.protocols.kerberos) - Re: subversion 1.4.4_1: svnserve.in missing
... Kerberos library from /usr/lib, ... sia# pkg_info | grep krb ... If the port version is aabsolutely necessary, ... *** Error code 1 ... (freebsd-questions) - Re: WSE2 rock paper scissors game
... i'm running a web application that attempts to access a web service ... The Kerberos ticket could not be retrieved. ... > The RetrieveKerbTicket call returned the following error code: ... > I am running Win Server 03 on the Admin account. ... (microsoft.public.dotnet.framework.webservices) |
|