[OpenAFS] AFS + Kerberos 5

Padiyath Sreekumaran Kumar.Padiyath@psi.ch
Mon, 22 Mar 2004 16:33:43 +0100


    Hello,
    I know this is an Openafs mailing list. I also know that there are
    many AFS experts in this list. I have a question regarding the
    kerberos5 + AFS on Tru64 with OS 5.1a. I have installed IBM
    AFS client SW on our Tru64 machines which works without problem.
    But we are planning  to move to Kerberos 5. I have compiled Kerberos 5 
    and installed.
    so that I can execute kinit and aklog to get tokens. But I noticed that 
    now I am getting twice
    the password prompt when I try to login.  I want to combine aklog
    with the password. I found a Kerberos 5 Tru64 SIA plugin on the net.
    So I could create a library(libsiakrb5.so) and added to matrix.conf.
    This helps me not to execute kinit command explicitly. When 
    I login now I get permission errors for my HOME directory since I have
    not yet executed the aklog command. I have to still execute
    aklog to have access to my HOME directory. I get the following message
    when I login:

    No directory!
    Logging in with home = "/".
    Compaq Tru64 UNIX V5.1A (Rev. 1885); Tue Aug 19 10:31:15 MEST 2003
   
    Any idea where I have to make changes inorder to get tokens during
login? So I donot get the previous error message. If I execute aklog
explicitly after logging I have access to my home directory.
    
  My present matrix.conf file:
  ============================

# sia matrix configuration file (BSD only)

siad_setgrent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_endgrent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getgrent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getgrnam=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getgrgid=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_setpwent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_endpwent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getpwent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getpwnam=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getpwuid=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_init=(KRB5,/usr/shlib/libsiakrb5.so) (AFS,/usr/shlib/libafssiad.so)
(BSD,li
bc.so)
siad_chg_finger=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (
BSD,libc.so)
siad_chg_password=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so)
 (BSD,libc.so)
siad_chg_shell=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (B
SD,libc.so)
siad_chk_user=(KRB5,/usr/shlib/libsiakrb5.so) (AFS,/usr/shlib/libafssiad.so)
(BS
matrix.conf 
# 

# sia matrix configuration file (BSD only)

siad_setgrent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_endgrent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getgrent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getgrnam=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getgrgid=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_setpwent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_endpwent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getpwent=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getpwnam=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_getpwuid=(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_init=(KRB5,/usr/shlib/libsiakrb5.so) (AFS,/usr/shlib/libafssiad.so)
(BSD,libc.so)
siad_chg_finger=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_chg_password=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_chg_shell=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_chk_user=(KRB5,/usr/shlib/libsiakrb5.so) (AFS,/usr/shlib/libafssiad.so)
(BSD,libc.so)
siad_ses_init=(KRB5,/usr/shlib/libsiakrb5.so) (AFS,/usr/shlib/libafssiad.so)
(BSD,libc.so)
siad_chk_invoker=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_ses_authent=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_ses_suauthent=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_ses_reauthent=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_ses_estab=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_ses_launch=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)
siad_ses_release=(KRB5,/usr/shlib/libsiakrb5.so)
(AFS,/usr/shlib/libafssiad.so) (BSD,libc.so)


  Regards,
  Kumar