Re: Patch for the getpwnam_auth helper

From: Giancarlo Razzolini <linux-fan@dont-contact.us>
Date: Thu, 08 Jun 2006 17:51:21 -0300

Henrik Nordstrom wrote:
> tor 2006-06-08 klockan 14:42 -0300 skrev Giancarlo Razzolini:
>> Hi all,
>>
>> I'm sending the patch for the getpwnam_helper. Now it's more useful for
>> systems that don't have PAM, but want to authenticate from local users
>> (Slackware Linux, amongst others).
>
> Hmm. Loos almost good. Problem is that now the helper fails for systems
> who do have the shadow suite but is not using shadow.. In my experience
> on those systems getspnam returns NULL and you have to fall back on
> getpwnam runtime.
>
> Regards
> Henrik

No problem. Must only add a check for the return of the getspnam(3)
call. If it is null, then fall back to the getpwnam(3). Will do it
latter today and will resend the patch.

And what about the documentation?

My regards,

-- 
Giancarlo Razzolini
Linux User 172199
Moleque Sem Conteudo Numero #002
Slackware Current
OpenBSD Stable
Snike Tecnologia em Informática
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

Received on Thu Jun 08 2006 - 14:51:41 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 30 2006 - 12:00:02 MDT