Kerberos authentication...

John Blair jdblair at uab.edu
Mon Oct 27 01:19:38 GMT 1997


>
>   1)  There is a better way to add Kerberos besides hacking Samba code.
>   2)  you have any tips for me if I attempt to hack the code myself...
>   3)  one of you could hack the code real quick for me ;)

Hmm... hack the code?  I'm assuming you already know about this part of the
Makefile:

# This is for Kerberos 5 authentication. Contributed by Nathan Neulinger
# Univ. of Missouri - Rolla <nneul at umr.edu>
# KRB5_BASE = /usr/local/krb5
# KRB5_FLAGS = -DKRB5_AUTH -I$(KRB5_BASE)/include
# KRB5_LIBS = -L$(KRB5_BASE)/lib -ldes425 -lkrb5 -lcrypto -lcom_err

Granted, this is Kerberos 5, not Kerberos 4 which you said you need.  I
believe if you compile your Kerberos libraries with version 4
compatability, it should still work (though I'm not positive-- I've never
tried that).  Even if it didn't I'm sure the Kerberos 5 support would
provide you with the necessary stubs to avoid any message code hacking.

 -john.


......................................................................
.                                                                    .
.....John.D.Blair...   mailto:jdblair at uab.edu   phoneto:205.975.7123 .
                   .   http://frodo.tucc.uab.edu  faxto:205.975.7129 .
 ..sys|net.admin....                                                 .
 .                     the university computer center            .....
 ..... g.e.e.k.n.i.k...the.university.of.alabama.at.birmingham....




More information about the samba mailing list