Re: afs integrated login with EnableKFW=1 and ccname set to "FILE:..."
Jeffrey Altman <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.devel.win32 |
|---|---|
| Organization | Not Affiliated with Columbia University in the City of New York |
| Message-ID | <[email protected]> |
Beata A Pruski wrote: > At 03:01 PM 12/15/2004, Jeffrey Altman wrote: > >> Beata A Pruski wrote: >> >>> Hello, >>> I am trying to resolve a problem with OpenAFS using KFW and kerberos >>> 5 to get afs tokens. >>> Here is the environment I am working in: >>> - windows xp sp2 >>> - kfw 1.2.65 with ccname set: >>> >>> HKEY_LOCAL_MACHINE\Software\MIT\Kerberos5\ccname="FILE:<full_path\<file_name>" >>> >>> - openafs 1.3.76 installed and configured to aquire tokens at login time >>> - running a custom written Network Provider which gets kerberos v5 >>> tickets at login time (that is why ccname is set in >>> HKEY_LOCAL_MACHINE to be a file) >> >> >> You should most likely use a "MEMORY:name" cache instead of a file. > > > What is the difference between "MEMORY:name" and "API:name"? I thought > that only FILE:name cache preserves the ticket beyond the login process > so they are available to the user later during the login session. You can't pass credentials via FILE:. The FILE: specified cache will be re-used by all individuals logging into the machine. Credentials will not be protected against use by other individuals. Do not do this. There is no means other then configuring the Windows LSA for Kerberos login that is secure to use for passing Kerberos 5 credentials into the logon session. The Network Provider can only obtain AFS tokens and insert them into the AFS Client Service on behalf of the user. MEMORY: says that the Network Provider instance has a temporary place in memory to store Kerberos 5 tickets which are local to the process. When the process terminates the tickets go away. >> What do you mean by "custom network provider"? You have customized >> the one that is distributed by OpenAFS.org? What prompted you to make >> that change? > > > this "custom network provider" is not a customization of the one > distributed > with openafs. It has been written here to allow our users to get > kerberos tickets > at login time. It is a "kerberos integrated login". We are also using afs > integrated login to get afs tokens at login time. The AFS integrated login obtains Kerberos 5 tickets. >>> If EnableKFW= 0 and tokens are aquired via kerberos v.4 everything >>> works fine. Any attempt to aquire afs tokens via kerberos 5 by >>> setting EnableKFW (=1) fails. I cannot even launch afscreds.exe >>> because it gives me an application error. >> >> >> EnableKFW is only meaningful if you are using afscreds to obtain >> tokens or using the OpenAFS.org Integrated Logon Network Provider. > > > As I mentioned above - I am using the OpenAFS.org integrated logon > network provider. >> Install the debug version of openafs 1.3.76 and attach a debugger to >> the process when it crashes. Then you can file a reasonable bug >> report to [email protected] with stack information describing >> what is wrong. > > > I have installed the debug version of openafs 1.3.76, attached a > debugger to afscreds.exe when it crashed. Now, forgive me my ignorance, > but what exactly do I need to save (and later send to afs-bugs) from the > debugging session? You want to save a mini-dump. Or copy the stack of the thread which crashed. Jeffrey Altman
smime.p7s
(application/x-pkcs7-signature, 3.2 KB) - not displayed