Creating users in an LDAP
See the example in this procedure that uses an LDAP utility to create users in LDAP.
Procedure
- Open an LDAP utility. For example, if you 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.
Results
ou=users,ou=SWG
.Example
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
- 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 your LDAP user ID and password.
- Click OK.