[OpenAFS-port-darwin] Re: Kerberos for Macintosh Login Authentication, Help?

Aaron Rosenblum arosenbl@mac.com
Tue, 22 Oct 2002 16:12:45 -0400


No, you do not need the extra edit if all you want to do is get tickets  
as a side effect of logging in.  Please note, however, that you must  
have a local username and password that match your kerberos  
username/password for this to work.

Hope this helps.

Aaron

On Tuesday, October 22, 2002, at 04:07 PM, Henry B. Hotz wrote:

> At 9:31 PM -0400 10/21/02, David Botsch wrote:
>> There is another edit you need to make to /etc/authorization:
>>
>>         <key>system.login.console</key>
>>         <dict>
>>                 <key>eval</key>
>> <string>loginwindow_builtin:login,krb5auth:authnoverify,loginwindow_bu 
>> iltin:success</string
>>
>>
>> the edit you put in only gets you kerberos tickets when loggin in but  
>> does not
>> actually authenticate you against kerberos.
>
> I don't want login dependent on having a network connection, much less  
> having the server running properly.  I just want to get a ticket if  
> it's possible.
>
> Do I still need to do the extra edit?  My interpretation of the web  
> pages was that I didn't need it for my loose dependence.
>
> I think I'm asking a real dumb, newby type question.  If the built-in  
> KfM stuff weren't so new I'd feel really stupid.  Maybe.
>
> Thanks for responding!
>
> On Mon, Oct 21, 2002 at 05:54:03PM -0700, Henry B. Hotz wrote:
>>  This is really frustrating.  With all the documentation on the web it
>>  seems like it should be working now.  It *almost* works.
>>
>>  I've installed a edu.mit.Kerberos file on a just-upgraded OSX 10.2.1
>>  system that didn't have it before.
>>
>>  >[machotz:~] hotz% more /Library/Preferences/edu.mit.Kerberos
>>  >[libdefaults]
>>  >         default_realm = JPL.NASA.GOV
>>  >[logging]
>>  >         default = FILE:/KLog
>>  >[v4 realms]
>>  >         JPL.NASA.GOV = {
>>  >                 kdc = eis-fil-afsdb08.jpl.nasa.gov
>>  >                 kdc = eis-fil-afsdb09.jpl.nasa.gov
>>  >                 kdc = eis-fil-afsdb10.jpl.nasa.gov
>>  >                 admin_server = kerberos.jpl.nasa.gov
>>  >                 default_domain = jpl.nasa.gov
>>  >                 string_to_key_type = afs_string_to_key
>>  >         }
>>  >[v4 domain_realm]
>>  >         .jpl.nasa.gov = JPL.NASA.GOV
>>  >         jpl.nasa.gov = JPL.NASA.GOV
>>
>>  Also modified /etc/authorization as follows:
>>
>>  ><!-- Do kerberos authentication as a side-effect of loggin in.
>>  >Local username/password will be used.
>>  >  -->
>>  >         <key>system.login.done</key>
>>  >         <dict>
>>  >                 <key>eval</key>
>>  >                 <string>switch_to_user, krb5auth:login</string>
>>  >         </dict>
>>
>>  Added group read access to ~/Library/Preferences/  (Do I really need
>>  to do this?)
>>
>>  >[machotz:~] hotz% ls -ld ~/Library/Preferences/
>>  >drwxr-x---  94 hotz  staff  3196 Oct 21 17:17  
>> /Users/hotz/Library/Preferences/
>>
>>  Now kinit/klist/kdestoy work fine.  The Kerberos GUI also works fine.
>>  I've restarted the computer and when I log back in klist shows no
>>  tickets.  I have not installed the Kerberos Extras, but I don't think
>>  I need them.  What else do I need to do to get the login
>>  authenticator to work?
>>
>>  Note that kpasswd does not work, and the /KLog file and console log
>>  remain bare of any indications of any problem.
>>
>>  >[machotz:~] hotz% klist
>>  >Kerberos 4 ticket cache: 'Initial default ccache'
>>  >Default Principal: hotz@JPL.NASA.GOV
>>  >Issued             Expires            Service Principal
>>  >10/21/02 16:24:59  10/22/02 17:51:20   
>> krbtgt.JPL.NASA.GOV@JPL.NASA.GOV
>>  >
>>  >[machotz:~] hotz% kpasswd
>>  >Kerberos Change Password:
>>  >Please enter the old password for hotz@JPL.NASA.GOV:
>>  >Kerberos Change Password Failed: Principal unknown
>>  >Please enter the old password for hotz@JPL.NASA.GOV:
>>
>>  kerberos is a CNAME for eis-fil-afsdb08.  It's really running a
>>  kaserver (hence the v4 and afs key stuff).  I'm not trying to put my
>>  home directory in AFS space, just gain access to AFS automatically on
>>  login.
>>  --
>>  The opinions expressed in this message are mine,
>>  not those of Caltech, JPL, NASA, or the US Government.
>>  Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu
>
> -- 
> The opinions expressed in this message are mine,
> not those of Caltech, JPL, NASA, or the US Government.
> Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu
> _______________________________________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin