>
> 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
First sorry for the late, it were 2 weeks of tests in my university, so
i was busiest that never. Now that i'm on vacation from university, i do
have more free time.
Now, to the patch. For doing what you want, i'll have do do major
changes to the code. Because if using shadow, i declare a pointer to the
spwd struct, and if using getpwnam, i declare a pointer to the passwd
struct. To fail back, i'll have to do some big changes to the code. I'm
even thinking in using functions inside the code to do the auth. Want to
know if you agree with it or not.
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
This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT