s3:fix build of pam_winbind.so on older Linux systems.
[kai/samba.git] / source3 / nsswitch / pam_winbind.c
index be22ff3f5e4e62199103e46bc1cd928cd990c9eb..d049bdb1e7d538bce21ac1628be6282c0502f337 100644 (file)
@@ -93,8 +93,8 @@ static const char *_pam_error_code_str(int err)
                        return "PAM_CONV_ERR";
                case PAM_AUTHTOK_ERR:
                        return "PAM_AUTHTOK_ERR";
                        return "PAM_CONV_ERR";
                case PAM_AUTHTOK_ERR:
                        return "PAM_AUTHTOK_ERR";
-               case PAM_AUTHTOK_RECOVERY_ERR:
-                       return "PAM_AUTHTOK_RECOVERY_ERR";
+               case PAM_AUTHTOK_RECOVER_ERR:
+                       return "PAM_AUTHTOK_RECOVER_ERR";
                case PAM_AUTHTOK_LOCK_BUSY:
                        return "PAM_AUTHTOK_LOCK_BUSY";
                case PAM_AUTHTOK_DISABLE_AGING:
                case PAM_AUTHTOK_LOCK_BUSY:
                        return "PAM_AUTHTOK_LOCK_BUSY";
                case PAM_AUTHTOK_DISABLE_AGING: