[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: smbk5pwd crash for missing symbol



Hello,

I had the same problem until I recompiled heimdal using the following
patch below to make the two symbols needed by smbk5pwd became public under
Centos 5. Not sure whether it's a proper way to solve the problem, but it
works. I can give you link to my heimdal SRPM which you can rebuild for
Mandriva if you want to.

Regards,

-- anto --

Hidayat Trimarsanto
Eijkman Institute for Molecular Biology



--- heimdal-1.1/lib/kadm5/version-script.map_orig       2008-01-24
20:12:07.0000 00000 +0700
+++ heimdal-1.1/lib/kadm5/version-script.map    2008-05-09
08:10:03.000000000 +0700
@@ -61,6 +61,8 @@
                _kadm5_unmarshal_params;
                _kadm5_s_get_db;
                _kadm5_privs_to_string;
+               _kadm5_set_keys;
+               _kadm5_free_keys;
        local:
                *;
 };


On Mon, May 26, 2008 22:27, Guillaume Rousse wrote:
> Hello list(s).
>
>
> I'm having a crash as soon as I attempt to change my password when
> smbk5pwd is activating. strace shows an unresolved symbol in smbk5pwd.so:
> _kadm5_free_keys
>
>
> Heimdal source code shows this function is defined in libkadm5srv.so
> (/usr/lib/libkadm5srv.so.8.0.1) for heimdal 1.1. But this seems to be a
> private symbol, as objdump -T doesn't list it. Looking at heimdal
> Makefile.am, it seems a special configuration file is used
> (lib/krb5/version-script.map) to filter exported symbols, if linker
> support the use of -Wl,--version-script option. I couldn't find any
> description  of this option.
>
> Is this possible smbk5pwd author would have by mistake used a private
> function, only working because he build heimdal on a host whose linker
> doesn't support --version-script option ?
>
> I'm using heimdal 1.1 and openldap 2.4.8 on mandriva linux.
>
>
> --
> Guillaume Rousse
> Moyens Informatiques - INRIA Futurs
> Tel: 01 69 35 69 62
>
>