#10 dlerror: /lib/security/pam_krb5.so: undefined symbol: krb5_i

open
nobody
None
8
2006-02-17
2006-02-17
No

Cannot find anything on this problem on the net.
Adding debug to the modules' line does nothing.
Probably because the module cannot load correctly. I've
built everything from scratch...

linux-pam 0.79
krb5 1.4.3
pam_krb5 1.3-rc7

from the syslog for login:

Feb 17 14:34:36 [login] PAM unable to
dlopen(/lib/security/pam_krb5.so)
Feb 17 14:34:36 [login] PAM [dlerror:
/lib/security/pam_krb5.so: undefined symbol: krb5_init_ets]
Feb 17 14:34:36 [login] PAM adding faulty module:
/lib/security/pam_krb5.so

Discussion

  • Anonymous - 2006-02-17
    • priority: 5 --> 8
     
  • Niall Sheridan

    Niall Sheridan - 2006-04-18

    Logged In: YES
    user_id=1196063

    I worked around this problem by removing all refereces to
    krb5_init_ets() in the code. Apparently this function call
    is gone.

    diff -urN pam_krb5-1.3-rc7.orig/kreset.c
    pam_krb5-1.3-rc7/kreset.c
    --- pam_krb5-1.3-rc7.orig/kreset.c 2002-06-06
    16:34:25.000000000 +0100
    +++ pam_krb5-1.3-rc7/kreset.c 2006-03-16
    12:58:07.000000000 +0000
    @@ -102,13 +102,13 @@
    int ret;

    ret = krb5_init_context(&context);
    - if(ret == 0) {
    +/* if(ret == 0) {
    krb5_init_ets(context);
    } else {
    fprintf(stderr, "%s\n", error_message(ret));
    exit(0);
    }
    -
    +*/
    if(ret == 0) {
    krb5_cc_resolve(context, "/tmp/krb5cc_500",
    &ccache);
    } else {
    @@ -171,13 +171,13 @@

    ret = krb5_init_context(&context);

    - if(ret == 0) {
    +/* if(ret == 0) {
    krb5_init_ets(context);
    } else {
    fprintf(stderr, "%s intializing context\n",
    error_message(ret));
    exit(0);
    }
    -
    +*/
    if(argc < 2) {
    fprintf(stderr, "You must supply a principal
    name!\n");
    exit(0);
    diff -urN pam_krb5-1.3-rc7.orig/pam_krb5afs.c
    pam_krb5-1.3-rc7/pam_krb5afs.c
    --- pam_krb5-1.3-rc7.orig/pam_krb5afs.c 2006-03-28
    19:58:32.801965000 +0100
    +++ pam_krb5-1.3-rc7/pam_krb5afs.c 2006-03-28
    19:54:39.158002000 +0100
    @@ -1833,13 +1833,14 @@
    initialize_krb5_error_table();
    #endif
    krc = krb5_init_secure_context(&context);
    + /*
    if (krc == KRB5_SUCCESS) {
    krb5_init_ets(context);
    } else {
    CRIT("error initializing Kerberos");
    prc = PAM_SYSTEM_ERR;
    }
    -
    + */
    if (RC_OK) {
    if (!(config = get_config(context, argc,
    argv))) {
    CRIT("error parsing configuration");
    @@ -2467,11 +2468,13 @@
    initialize_krb5_error_table();
    #endif
    krc = krb5_init_secure_context(&context);
    + /*
    if (krc == KRB5_SUCCESS) {
    krb5_init_ets(context);
    } else {
    prc = PAM_SYSTEM_ERR;
    }
    + */
    if (RC_OK) {
    if (!(config = get_config(context, argc,
    argv))) {
    prc = PAM_SYSTEM_ERR;

     

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

Sign up for the SourceForge newsletter:





No, thanks