Current-Users archive

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

Re: Did anything change in the building of PAM modules?



On Wed, 5 Aug 2009 22:40:51 +0200
Rhialto <rhialto%falu.nl@localhost> wrote:

> 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?

I think this is related to a pam bug, which was worked around in some packages, 
but never really fixed.

-- 
Adam Hoka <Adam.Hoka%Gmail.com@localhost>
Adam Hoka <ahoka%NetBSD.org@localhost>
Adam Hoka <ahoka%MirBSD.de@localhost>


Home | Main Index | Thread Index | Old Index