Creating users in an LDAP

See the example in this procedure that uses an LDAP utility to create users in LDAP.

Procedure

  1. Open an LDAP utility.
    For example, if you are using the IBM® Directory Server, the LDAP utility is idsldapadd.
  2. Import the sample file LdapEntries.ldif that lists all the users who are authorized to access the reports. See the following example.

Results

After the successful import operation, you can see the users that are created in ou=users,ou=SWG.

Example

A sample file: LdapEntries.ldif
In this example, dc=com is the root entry. Specify the entry according to the schema that you 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: Lucy

What to do next

Authenticate IBM Cognos® by using an LDAP user. Complete these steps:
  1. 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.
  2. Select the configured Namespace, and click OK.
  3. Enter your LDAP user ID and password.
  4. Click OK.