The sample requires an Lightweight Directory Access Protocol
(LDAP) with some specific entries.
About this task
The elements and properties must be defined when configuring
the LDAP.
Note: Do not change these passwords.
As an alternative
to the manual configuration steps, extract the content of the following .zip file,
containing two LDIF files containing the configuration details provided
in this task, and use these files to update the LDAP server: soaSamples.zip.
Procedure
Create an LDAP with the following elements:
- Define the suffix:
dc=ibm.com
- Define the domain dc=ibm.com with the
following properties:
dn: dc=ibm.com
dc: ibm.com
objectclass: domain
objectclass: top
- Define the containers:
- Define the container groups:
dn: cn=groups,dc=ibm.com
objectclass: container
objectclass: top
cn: groups
- Define the container users:
dn: cn=users,dc=ibm.com
objectclass: container
objectclass: top
cn: users
- Define the following users:
- User ConsumerA with the following properties:
dn: uid=ConsumerA,cn=users,dc=ibm.com
uid: ConsumerA
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
sn: ConsumerA
cn: ConsumerA
userpassword: passw0rd
- User ConsumerB with the following properties:
dn: uid=ConsumerB,cn=users,dc=ibm.com
uid: ConsumerB
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
sn: ConsumerB
cn: ConsumerB
userpassword: passw0rd
- User ConsumerX with the following properties:
dn: uid=ConsumerX,cn=users,dc=ibm.com
uid: ConsumerX
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
sn: ConsumerX
cn: ConsumerX
userpassword: passw0rd
- Define the following groups:
- Define the Group MANAGER with the following properties:
dn: cn=MANAGER,cn=groups,dc=ibm.com
objectclass: groupOfNames
objectclass: top
cn: MANAGER
member: uid=ConsumerX,cn=users,dc=ibm.com
- Define the Group Clerk with the following properties:
dn: cn=Clerk,cn=groups,dc=ibm.com
objectclass: groupOfNames
objectclass: top
cn: Clerk
member: uid=ConsumerA,cn=users,dc=ibm.com
- Define the Group Customer with the following properties:
dn: cn=Customer,cn=groups,dc=ibm.com
objectclass: groupOfNames
objectclass: top
cn: Customer
member: uid=ConsumerB,cn=users,dc=ibm.com
- Make sure to collect the following information about the
LDAP prior to running the sample:
- The distinguished name (DN); for example cn=root.
- The password; for example, passw0rd.
- The non-secure port; for example, 389.
- The LDAP Host name; for example, ldap.customer.com.