Jump to content


ITSupport-ORTEC

Member Since 07 Jan 2019
Offline Last Active Feb 28 2019 01:20 PM
-----

Topics I've Started

Perforce LDAP integration

26 February 2019 - 09:21 AM

Hi,

We are going to use LDAP authentication in Perforce. We have set out the following steps that we will take in our upcoming maintenance weekend. We are not actually sure if this approach is good enough.
  • The server security level will be raised to 3. (P4 configure set security=3)

  • p4 ldap config1
    Name: config1
    Host: ADServer1
    Port: 636Encryption: ssl
    BindMethod: sasl
    Options: nodowncase nogetattrs norealminusername
    SearchScope: subtree
    GroupSearchScope: subtree
    p4 ldap config2
    Name: config2
    Host:

    ADServer

    2
    Port: 636
    Encryption: ssl
    BindMethod: sasl
    Options: nodowncase nogetattrs norealminusername
    SearchScope: subtree
    GroupSearchScope: subtree


  • We will test the authentication
    (p4 ldap -t username config1)

    (p4 ldap -t username config2)



  • We will set configurables
    (P4 configure set auth.ldap.order.1=config1)

    (P4 configure set auth.ldap.order.1=config2)


Do we have to use the command p4 configure set auth.default.method=ldap? We want to change the authentication method for users in phases, and not with a bing bang (everyone at the same time). Is this even possible?

How to check for weak passwords

31 January 2019 - 02:35 PM

Hi,

I would like to know how I can determine which Perforce account uses a weak password?
We haven't applied password complexity rules (yet). We are finally switching over to authenticating with LDAP.
One of the first steps I want to do is determine which passwords are weak before I raise the server security level.
Do you know which command I can use to check if the password is weak?

Thanks in advance

p4 command for last access to workspace

07 January 2019 - 04:14 PM

Hi,

I have searched and have not found a command that returns all workspaces owned by certain user that have been accessed in 2018.
I use two commands I use in Windows:
  • p4 clients -u <user>, this tells me which workspaces are owned by an user. I use the outcome for the next command
  • p4 client -o | findstr/b "Access:", this tells me when the workspaces owned by the user were last accessed.

How can I combine both commands that returns the names of the workspaces owned by user X, with a last accessed date before 2018, or 2017, or any particular date?

Thanks in advance.

ITSupport-ORTEC,