Create users in an LDAP
See the example in this procedure that uses an LDAP utility to create users in LDAP.
- Open an LDAP utility. For example, if we are using the IBM Directory Server, the LDAP utility is idsldapadd.
- Import the sample file LdapEntries.ldif that lists all the users who are authorized to access the reports. See the following example.
After the successful import operation, we can see the users that are created in ou=users,ou=SWG.
Example
A sample file: LdapEntries.ldifIn this example, dc=com is the root entry. Specify the entry according to the schema that we use.dn: ou=SWG, dc=com ou: SWG objectClass: top objectClass: organizationalUnit dn: ou=users,ou=SWG, dc=com ou: users objectClass: top objectClass: organizationalUnit dn: uid=steves,ou=users,ou=SWG, dc=com uid: steves userPassword:: hello123 objectClass: inetOrgPerson objectClass: top objectClass: person objectClass: organizationalPerson sn: Wiley cn: Steves dn: uid=PortalAdmin,ou=users,ou=SWG, dc=com userPassword:: hello123 uid: PortalAdmin objectClass: inetOrgPerson objectClass: top objectClass: person objectClass: organizationalPerson sn: Poon cn: Chuck dn: uid=william,ou=users,ou=SWG, dc=com userPassword:: hello123 uid: william objectClass: inetOrgPerson objectClass: top objectClass: person objectClass: organizationalPerson sn: Hanes cn: William dn: uid=lucy,ou=users,ou=SWG, dc=com userPassword:: hello123 uid: lucy objectClass: inetOrgPerson objectClass: top objectClass: person objectClass: organizationalPerson sn: Haye cn: LucyAuthenticate IBM Cognos by using an LDAP user. Complete these steps:
- Access the IBM Cognos Gateway URI. For example, http://localhost:portnumber/bi/v1/disp. The localhost is the IP address or network host name where IBM Cognos gateway is configured. The portnumber is the port on which the IBM Cognos gateway is configured.
- Select the configured Namespace, and click OK.
- Enter the LDAP user ID and password.
- Click OK.
Parent topic: Security layer configuration around the data model and reports