Hello there,

there is a problem with pam_shishi.so in OpenSolaris
and OpenIndiana. The module builds well with "--with-pic",
but fails completely without PIC.

The reason is found in

   //  extra/pam_shishi/pam_shishi.c

   #ifndef PIC
   # define PAM_STATIC
   #endif

   #ifdef PAM_STATIC
   struct pam_module _pam_shishi_modstruct = {
     // ...
   };

Solaris does _not_ provide "struct pam_module",
whence "pam_shishi.o" is not buildable without
"--with-pic". Furthermore, Solaris does not know
the macro PAM_EXTERN. All prototypes are of the form

   // <security/pam_module.h>

  extern int
  pam_sm_authenticate(...);


The interplay between PIC, PAM_STATIC, and PAM_EXTERN
must be improved in "pam_shishi.c".

Regards,
  Mats Erik Andersson

_______________________________________________
Help-shishi mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to