[OpenAFS-devel] pr_Initialize falis when called within a simple application

Derrick J Brashear shadow@dementia.org
Fri, 6 Aug 2004 12:04:46 -0400 (EDT)


No really, stop cc'ing me on the messages.

On Fri, 6 Aug 2004, John Hayes wrote:

> I made a couple of modifications to my test program and the error I
> reported (70354689) went away to be replaced by a different one. Now
> pr_Initialize returns a 0, indicating success and so the process call:
> ka_UserAuthenticateGeneral
> which fails with the following code:
> R: 0           # this is the value from pr_Initialize
> 180491         #this is the value from ka_UserAuthenticateGeneral

180491 (ka).11 = interface incompatible

call as ka_UserAuthenticateGeneral( 
KA_USERAUTH_ONLY_VERIFY+KA_USERAUTH_VERSION, UserName, .....


>                retval = ka_UserAuthenticateGeneral (
> KA_USERAUTH_ONLY_VERIFY,
>                                                        UserName,
>                                                        "",
>                                                        "",
>                                                        Password,
>                                                        0,
>                                                        0,
>                                                        0,
>                                                        &Reason);