> From [EMAIL PROTECTED] Tue Jun 18 17:42:16 2002
> Date: Tue, 18 Jun 2002 20:42:13 -0400
> Subject: LPRNG with Kerberos auth on MacOS X
> From: Hua Ying Ling <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
>
>
> --Apple-Mail-1-1042976889
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
>       charset=US-ASCII;
>       format=flowed
>
> Hi Patrick,
>
> I emailed you about a couple of months ago about compiling lprng with 
> kerberos support on MacOS X.  Unfortunately at the time there were some 
> issues with private Kerberos functions on the Mac  I'm curious out the 
> current status.  According to the folks from MIT the missing functions 
> are now included with the Kerberos 1.2.5.  I've tried to configure lprng 
> with kerberos enabled but it fails with this error:
>
> configure: checking for krb5_des_string_to_key in  -lcrypto -lcom_err ...
> configure: checking for krb5_des_string_to_keyin  -lk5crypto 
> -lcom_err ...
> Kerberos 5 encryption support library not found.
>   You may need to use:
>    configure '--with-cppopts=-I/usr/local/include' '--with-
> ldopts=-L/usr/local/lib'
>
> The --with-ldopts=-lcom_err -lk5crypto doesn't seem to help.  I could 
> not find krb5_des_string_to_key defined inside the the cryptolib, 
> k5cryptolib, or any of the kerberos frameworks.
>
> Thanks
> ~Hua Ying

Hmmm... Well, I tried this on the Mac OS X system you made available
to me,  and you are right - the libraries in /usr/lib/ had REFERENCES
to the krb5_des_string_to_key function,  but they were not GLOBAL.
This means that the krb5_des_string_to_key function is a static
routine in the library:

You can verify this by using:
[quantum:~/LPRng] papowell% nm /usr/lib/libk5crypto.dylib | grep krb5_des_string_to_key
93d64868 t _krb5_des_string_to_key
         ^
         The t indicates a static (or local to module) reference.

I will see if there is another routine that will serve
the same purpose and is a global.

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to