Hello Pawel,

> Is it possible to also add some external authenticators (perl
> scripts) to the upstream and include them in installable packages for
> Linux distros you support? If so, then I could do most of the job,
> just need some hints where to put the code and how to add it to
> packaging.

We will need to do some documentation on the external connector but I do
not assume that we will ship a set of scripts with it beside some
examples as this is far to specific. The basic methods will go into
Conenctor Plugins as this is our main focus.

Some hints to point you into the right direction:

Put this into auth/handler.yaml

 MyHandler:
   type: External
   label: My Auth Handler
   command: /path/to/your/script
   role: 'RA Operator'
     env:
        LOGIN: __USER__
        PASSWD: __PASSWD__

Your Script know can read the username and password the user gave at the
login form from the shells environment in "LOGIN" an "PASSWD", you are
free to use any other key. If your script sets an exitcode of "0", the
login is considered successful. The role is set to "RA Operator".

regards

Oliver

-- 
Protect your environment -  close windows and adopt a penguin!

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to