Listing platform users from external servers

If you’re running Integrated Analytics System Version 1.0.7.0 or above, you can list platform users from an external directory server who have access to the system.

Before you begin

System needs to be enabled with external LDAP before running the command to list platform users from external LDAP server added to the system.

Procedure

  1. Log in to the appliance as apuser or any equivalent that is a member of ibmadmin OS group.
  2. Use the ap_external_ldap.pl listuseraccess option to list the platform users from external LDAP added in the system.
    ap_external_ldap.pl listuseraccess [all| -U user_names]
    Optional parameters:
    all
    Lists all the platform users from external LDAP having access to the system.
    -U user_names
    Specifies the comma-separated list of user names whose information needs to be shown.
    Note: If no parameter is provided, the ap_external_ldap.pl listuseraccess lists all external LDAP users with access to the system.

Results

Running the ap_external_ldap.pl utility with listuseraccess option displays uid, uid Number, Platform Group and Platform gid Number.

Example

The output is produced in the following format:
  • Single user listed:
    ap_external_ldap.pl listuseraccess -U user1
    --------------------------------------------------------------------------------
    uid                               uid         Platform         Platform
                                    Number        Group            gid Number
    --------------------------------------------------------------------------------
    user1                            1122         ibmapadmin       2001
    --------------------------------------------------------------------------------
  • Multiple users listed:
    ap_external_ldap.pl listuseraccess -U user1,user2
    --------------------------------------------------------------------------------
    uid                               uid         Platform         Platform
                                    Number        Group            gid Number
    --------------------------------------------------------------------------------
    user1                            1122         ibmapadmin       2001
    user2                            1101         ibmapusers       2002
    --------------------------------------------------------------------------------
    
  • All users listed:
    ap_external_ldap.pl listuseraccess 
    --------------------------------------------------------------------------------
    uid                               uid          Platform        Platform
                                    Number         Group           gid Number
    --------------------------------------------------------------------------------
    user1                            1122         ibmapadmin       2001
    user2                            1101         ibmapusers       2002
    user3                            1102         ibmapusers       2002
    user4                            1103         ibmapusers       2002
    --------------------------------------------------------------------------------