lprng uses private Kerberos Functions?

Patrick Powell papowell at astart.com
Wed Feb 20 08:27:01 EST 2002


> From hua-ying at usa.net Tue Feb 19 23:23:33 2002
> Date: Wed, 20 Feb 2002 02:23:31 -0500
> From: Hua Ying Ling <hua-ying at usa.net>
> To: papowell at lprng.com
> Subject: lprng uses private Kerberos Functions?
>
> Hi,
>
> I got several link errors while compiling LPRNG for Mac OS X.
> I've attached the response from krbdev about these errors.  Any
> thoughts on the best, most portable solution for these
> problems?
>
> PS. Tried posting to the lprng at egroups.com
>
> Thanks
> ~Hua Ying
>
> http://diswww.mit.edu:8008/menelaus.mit.edu/krb5dev/6890
>

Your original email ended up in my Spam Collection Sack, and this
is not the best place for it.  This could be due to that fact
that you sent it directly to me, or you sent it to the LPRng mailing
list and you were not subscribed to it.  Or you might be trying to
beat the list security and were sending to lprng-owner and expecting
to spam the list :-)

If you are subscribed to the mailing list,  then you might have
sent it from a site or address different than the one that you
registered with.  If the latter is the case and you want to post
from this address then send me, Patrick Powell <papowell at lprng.com>,
email describing the problem with:

LPRNGMAIL

in the SUBJECT line so my junk mail purging system will not toss
it into the bit shredder (we shred our email for security reasons).

In fact,  if you have any problems with the list, send me email
with LPRNGMAIL in the header.

The best way to get answers is via the LPRng mailing list, which
I peruse on a fairly frequent basis.

To subscribe, send mail to:

lprng-request at lprng.com

with the single line:

subscribe 

in the body.

This reply is sent by a semiautomatic system, and the real
person may be drinking coffee at the present time...
so my apologies for the one-size-fits-all message.

Patrick Powell                 Astart Technologies,
papowell at lprng.com            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

> incase link doesn't work ...
> ==============================
>
> >I'm trying to compile LPRNG with Kerberos support for MacOS X but
> >I'm getting an undefined symbols for _krb5_read_message
> >_krb5_write_message _krb5_xfree _valid_cksumtype.  I have included
> >the Kerberos5Core framework which seems to have these symbols
> >defined.  This is the prototype found in the code, are they
> >different from the version of Kerberos for the Mac?

Try downloading the latest Kerberos release from MIT, install
it,  then use:

./configure --with-ldopts="-L/usr/local/lib" \
  --with-cppopts="-I/usr/local/include" --enable-kerberos


> krb5_read_message, krb5_write_message, krb5_xfree, valid_cksumtype
> are private functions internal to the Kerberos 5 library.  As a
> result, they are not exported by the Kerberos framework, and you
> should not be calling them.  Yes, I realize that they are in the
> krb5.h header file, but they shouldn't be.

Ummm... have you heard of 'legacy software support?'

The various kerberized utilities use them,  and I ripped the
code out of the kerberos utilities :-)

>
>
> krb5_read_message and krb5_write_message just send and receive data
> on the network.  You should be able to replace these functions with
> your own versions fairly easily.
>
> krb5_xfree is deprecated because there are now krb5_free_<type>
> functions for all krb5 types allocated inside the library.  You
> should check the krb5 type you are passing into krb5_xfree and find
> the appropriate free function in krb5.h.

Right.  Good idea!  I will look at this.

>
> valid_cksumtype is a krb5 crypto API.  I'm not sure how you should go
> about replacing this function.  I'll leave that to other folks on the
> krbdev list.
>
>
> Hope this helps,
>
> --lxs
> --
> -----------------------------------------------------------------------------
>
> Alexandra Ellwood
> <lxs at mit.edu>
> MIT Information Systems
> http://mit.edu/lxs/www/
> -----------------------------------------------------------------------------
>
> --
> _______________________________________________
> krbdev mailing list             krbdev at mit.edu
> http://mailman.mit.edu/mailman/listinfo/krbdev
>
>



More information about the krbdev mailing list