We have had to start locking down our Perforce installation, adding
passwords, etc.
We use an older version of P4DB. We currently require a login, but web
access uses the 'perforce builder' license as the user when the depot is
browsed. Now, we need to change that as certain people are not supposed to
see certain things.
Within a PERL .cgi script, I know how to get the username (REMOTE_USER in
%ENV), but I am not sure how to get the password, which I need to pass to
the 'p4' commands.
We use HTTP Basic Auth with Apache Perl Authen modules (e.g. AuthNetLDAP). I
was thinking I could modify that module to place the password into the
environment, but I'm not sure how.
Anybody here do anything similar? Anyone have any pointers?
--
-Todd Short
// tshort@xxxxxxxxx
// "One if by land, two if by sea, three if by the Internet."
_______________________________________________
perforce-user mailing list - perforce-user@xxxxxxxxxxxx
http://maillist.perforce.com/mailman/listinfo/perforce-user
|