|
From: Dave I. <dav...@en...> - 2006-01-26 12:05:55
|
Thanks, I will look into that.
What about enhanced login using multiple-factor authentication? I am
thinking here of an interactive login, where there is a username/password
challenge, followed by an Entrust Identity Guard challenge (on a new page).
I am assuming that to do this I will have to customize the Webmin login page
beyond what is supported in the configuration. Which Webmin scripts should
I be looking at to do this?
Thanks
Dave I
-----Original Message-----
From: web...@li...
[mailto:web...@li...] On Behalf Of Joe Cooper
Sent: Thursday, January 26, 2006 12:58 AM
To: web...@li...
Subject: Re: [webmin-l] External squid-style authentication program ?
Yes. There are several that come with Squid. On a Red Hat system
they'll be in /usr/lib/squid. There are quite a few others on the web
in varying states of quality. Writing ones own is not difficult, as
you've seen.
BTW-the standard way to solve your problem is to put Perl into
unbuffered mode at the start of the code (but a flush works fine too).
You can do that with:
$|=1;
Somewhere early in the file. When things get complicated, it's nice to
not have to think about flushing after every result.
The Squid FAQ has a lot of good information about authenticators.
Dave Isaacs wrote:
> Solved my own problem. I just needed to add a flush command after the
> print.
>
> Follow-up question: Are there any standard external authentication in
> existence, to support (for example) LDAP or kerberos authentication?
>
> Thanks
>
> Dave I
>
> -----Original Message-----
> *From:* web...@li...
> [mailto:web...@li...] *On Behalf Of
> *Dave Isaacs
> *Sent:* Wednesday, January 25, 2006 8:53 AM
> *To:* 'web...@li...'
> *Subject:* [webmin-l] External squid-style authentication program
> ?
>
> I am experimenting with the Webmin Authenticate feature "External
> squid-style authentication program" that allows you to use an
> external application to authenticate username/password login.
> Unfortunately, I am failing at the most simple test.
>
> Just to try it out, I created an auth.pl script that does nothing
> except read from STDIN and unconditionally prints out "OK\n" for
> each line of input.
>
> #!/usr/bin/perl
> while (<STDIN>) {
> print "OK\n";
> }
> I then specified this script in the "External squid-style
> authentication program" setting on the Authentication page. This
> should, if I am understanding this correctly, successfully
> authenticate any Webmin use who has "External authentication
> program" specified in their user access rights.
>
> But it is not working. When trying to log in with an externally
> authenticated user, I don't get success or failure. What happens is
> that the browser just spins and there is never a response.
>
> Any ideas as to what the problem is?
>
> The Webmin version is 1.240 running on Red hat EL3 Workstation)
>
> Thanks
>
> Dave Isaacs
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
-
Forwarded by the Webmin mailing list at web...@li...
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
|