#6 -DKRB5_SAVE_CREDENTIALS

Version 4.*
closed
5
2003-08-25
2003-08-25
charford
No

Install with:

/opt/apache2/bin/apxs -c -DKRB5_SAVE_CREDENTIALS -
DKRB5 -DAPXS2 -DKRB5_VERIFY_TICKET -
DKRB_DEF_REALM=HERMES.EAENOS.ORG -I/usr/local/
include -L/usr/local/lib -lkrb5 -lcom_err -lk5crypto /opt/src/
modules/kerberos/mod_auth_kerb.c

Gives the following Error:

/opt/apache2/build/libtool --silent --mode=compile gcc -
prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -
D_REENTRANT -D_THREAD_SAFE -g -O2 -I/opt/apache2/
include -I/opt/apache2/include -I/opt/apache2/include -I/
usr/local/include -I/usr/local/include -
DKRB5_SAVE_CREDENTIALS -DKRB5 -DAPXS2 -
DKRB5_VERIFY_TICKET -
DKRB_DEF_REALM=HERMES.EAENOS.ORG -c -o /opt/src/
modules/kerberos/mod_auth_kerb.lo /opt/src/modules/
kerberos/mod_auth_kerb.c && touch /opt/src/modules/
kerberos/mod_auth_kerb.slo
/opt/src/modules/kerberos/mod_auth_kerb.c: In function
`kerb_validate_user_pass_V5':
/opt/src/modules/kerberos/mod_auth_kerb.c:1028: `F_OK'
undeclared (first use in this function)
/opt/src/modules/kerberos/mod_auth_kerb.c:1028: (Each
undeclared identifier is reported only once
/opt/src/modules/kerberos/mod_auth_kerb.c:1028: for each
function it appears in.)
apxs:Error: Command failed with rc=65536
.

This is with Apache 2.0.47 on FreeBSD 5.1... without -
DKRB5_SAVE_CREDENTIALS everything links fine.

CH

Discussion

  • Daniel Kouril

    Daniel Kouril - 2003-08-25

    Logged In: YES
    user_id=770705

    I don't have any FreeBSD machine here to try. I'd suggest to
    add
    #include <unistd.h>
    at the begining of the file (a patch is attached). Please
    let me if it helps.

    You can also consider using a new alpha version 5.0

     
  • Daniel Kouril

    Daniel Kouril - 2003-08-25
    • milestone: 200292 --> Version 4.*
    • assigned_to: nobody --> kouril
    • status: open --> pending
     
  • charford

    charford - 2003-08-25

    Logged In: YES
    user_id=691260

    Thanks,

    The patch supplied fixed the problem.

    CH

     
  • charford

    charford - 2003-08-25
    • status: pending --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks