On Friday, May 3, 2002, at 08:50 , Gordon Cabaniss wrote:

>
> There is a perl module called Authen::Smb that might work for you.  http:
> //freshmeat.net/redir/authensmb/483/url_tgz/Authen-Smb-0.91.tar.gz
>
> You will need to install the samba package. If you want to use .htaccess 
> files with apache to the auth you might check out.
>
> http://modntlm.sourceforge.net/
>
> good luck.

[..]
> Hopefully the question makes some sort of sense.  BTW, running Apache,
> mod_perl, & perl 5.6.1 on Solaris 2.8 if that makes any difference to the
> responses.

You will clearly want to do some investigation on the .htaccess side
of how your apache is configured. hence since we authenticate against
a radius server I use things like

### AuthType Basic
### AuthName "Wetware Services"
### AuthAuthoritative off
### AuthRadiusAuthoritative on
### AuthRadiusActive on
### require valid-user

in the .htaccess - and leave all of the heavy lifting to the
debate between the WebFascists and the RadiusServerFascist as
to how they wish to interoperate with the NIS_Fascists and the
ActiveDirectoryFascists. { if you happen to be all of these
as well as the coderPerson - then do what I do in those cases,
take yourself out for lunch, have a serious discussion about
your policy position, and write it off as a bizniz expense,
but make sure that you retain the 'minority opinion' in case
you need to have leverage to manuever yourself later on during
the basic inter-office politics. }

At which point by the time they get to actually RUNNING my little
cgi - I don't have to worry about it - as the JackBootedThugs have
already done their dancing.

If on the other hand you have to 'key' on the 'user' - pull down:

http://examples.oreilly.com/cgi2/

{ and buy the BOOK - read it }

you will want to play with the dope that comes in:

        #!/usr/bin/perl -wT
        # Print a formatted list of all the environment variables

        use strict;

        print "Content-type: text/html\n\n";

        my $var_name;
        foreach $var_name ( sort keys %ENV ) {
        print "<P><B>$var_name</B><BR>";
        print $ENV{$var_name};
        }

so that you understand what is being passed to you in %ENV from
your server.... { that is in chapter 3 }

ciao
drieux

---

"I am not an AI - but you may be a rat in a Turing Test."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to