W2K Domain Login Problem with 2.2.0

Steve Langasek vorlon at netexpress.net
Tue Apr 24 23:44:15 GMT 2001


On Wed, 25 Apr 2001, Andrew Bartlett wrote:

> PeRcY YuEn wrote:
> >
> > Steve and Andrew,
> >
> >   Thanks for your PAM patch. it works perfectly now. I have two notes
> > however.
> >
> >   First, in Solaris 2.6, PAM_AUTHTOK_RECOVER_ERR is
> > PAM_AUTHTOK_RECOVERY_ERR. I don't know about other system's PAM interface.
> > But at least we have a speical case here.

> Same on the PAM web pages, but it wouln't compile until I changed it...

#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
#endif

should be sufficient for handling this particular incompatibility.

Steve Langasek
postmodern programmer





More information about the samba-technical mailing list