[Webcalendar] PAM support on v2.9.3

Peter Petrakis peter.petrakis a t gmail.com
Thu, 18 Aug 2005 22:33:18 -0400


Hi All,

I've searched around the net and haven't found any mention of this
except for the original patch. If there's a short howto about the
following issue I would be extremley greatfull if someone could point
me in the right direction.

OK. I'm running CentOS 4.1 [RHEL 4.1] and have v2.9.3 of webcal. My
network has NIS for authentication and my server is a NIS client of
this domain. My goal is use the PAM module to authenticate existing
NIS users into webcal. I only plan to use webcal as a resource
calendar for a few conference rooms and a video project so I don't see
the point in having each staff member having their own calendar just
to be able to sign in and reserve a timeslot.

Well, I edited added code in webcalAuth to detect the new 'pam'
authentication method I added to webcalConfig. I also added the the
proper handler code in the PAM module for the function pointers.

Low and behold it doesn't work. Actually it just hangs when I try to
auth. I'm not an experienced perl developer, more C/Java. I'm not
seeing anything in /tmp/wcal.log that elude to the error, it's empty.
So my question is does this module work and if so how do I set it up
properly? Thank you.

Peter Petrakis