Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Did anything change in the building of PAM modules?



I just updated my packages to 5.0 and the new branch.
Now pkgsrc/security/pam-af doesn't work any more.

sshd is complaining:
Aug  5 21:47:27 radl sshd: in openpam_dispatch(): 
    /usr/pkg/lib/security/pam_af.so: no pam_sm_setcred()

Did anything change in what symbols are exported in dynamic objects in 5.0?
pam_af.so doesn't export the required symbols.  PAM_EXTERN is "static",
in this fragment:

PAM_EXTERN int
pam_sm_setcred(pamh, flags, argc, argv)
        pam_handle_t    *pamh;
        int             flags __unused;
        int             argc;
        const char      *argv[];
{
    ...

but there seem to be some macros that put entry points into a structure.

Anyway, whatever the method, it worked previously and now it doesn't any
more...

Any ideas?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.


Home | Main Index | Thread Index | Old Index