[tac_plus] Dynamic authentication plugins via shared libraries?
Steve Kemp
steve at steve.org.uk
Wed Aug 22 07:18:09 UTC 2012
On Tue Aug 21, 2012 at 14:39:54 -0700, heasley wrote:
> > Comments on this initial stab are welcome. Once we agree
> > the documentation is adequate I'll submit the actual code.
> >
> > +This loads a shared library which is assumed to export the single function
> > +.sp
> > +int plugin_authenticate( char *username, char *passwd, char *args );
> > +.sp
> > +If this function returns 1 the login is considered a success.
> > +
>
> except that args needs to be defined, this looks fine.
I was going to document that in a new section, or new PLUGIN file.
(Seems "odd" to document API in the manpage there.)
Still if that first stab doesn't look too bad then I'll work on the
next bits today/tomorrow.
Steve
--
http://www.steve.org.uk/
More information about the tac_plus
mailing list