[p4] Triggers and best practice authentication from scripts

Elkins, Mark MElkins at brocksolutions.com
Wed Nov 29 05:50:18 PST 2006

What security level are you using for p4d?

Mark Elkins
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Finn Normann
Sent: November 29, 2006 4:14 AM
To: perforce-user at perforce.com
Subject: [p4] Triggers and best practice authentication from scripts


I have an authentication trigger (auth-check) on our server up against
our active directory/LDAP server, but I am wondering how you'd best
have scripts authenticate themselves.

I am wondering if the trigger authentication works for all forms of

p4 set p4user=myuser
p4 login      (supply mypasswd)

Works fine.


p4 -u myuser -P mypasswd somecommand

Does not work?

Also if the P4USER variable is set, the command "p4 login myuser"
ignores the argument "myuser".

Does anyone have any best practice on using authentication triggers?

perforce-user mailing list  -  perforce-user at perforce.com

More information about the perforce-user mailing list