m96 wrote: > > x_strdup exists in pam_misc and appears to be the correct function. > > but x_strdup is just macro on 'libpam/include/security/_pam_macros.h' Its a backward compatibility thing. Use x_strdup and hence use the macro. Don't use xstrdup() any more, because it will go away soon, it doesn't have a prototype because I don't want it used any more -- it conflicts with too many other programs/libraries. PS. 0.75 is the latest release version. Cheers Andrew PS. see pam.sourceforge.net