[5474] in Kerberos

home help back first fref pref prev next nref lref last post

Re: problems with ticket file under Windows

daemon@ATHENA.MIT.EDU (Paul B. Hill)
Fri Jul 7 12:36:55 1995

To: kerberos@MIT.EDU
Date: Fri, 7 Jul 1995 12:25:04
From: pbh@MIT.EDU (Paul B. Hill)


>Would anyone please help me the kerberos tikcet??

>     return code;     <==== here, the return code is 76. According to the
>  }                         error codes returned by ticket file utilities
>                            in krb.h file, it is defined as:
>                            #define  NO_TKT_FIL  76 /* No ticket file found */
>                            How do I set up the tkt file for kerberos, 
>                            where the file should be located and what does the
>                            file contain. 
>                             

I assume that you are using the krbv4win.dll instead of the CNS kerberos.dll. 
The ticket file is normally written to the memory reserved by the DOS TSR 
Kerbmem. The DLL will read and write the "ticket file" to this memory by 
default. If Kerbmem has not been loaded then the DLL will try to create a 
ticket file on disk. You can set the location of the ticket file by setting 
the environment variable KRBTKTFILE to a valid path. If KRBTKTFILE is not set 
then the default location will be in c:\tmp. Note that the library does not 
use the TEMP or TMP environment variable in this release. It will in the next 
release.

Remember to load KERBMEM before starting Windows or set KRBTKFILE before 
starting Windows.

home help back first fref pref prev next nref lref last post