Previous Topic: Populate CA Directory

Next Topic: Create an LDIF file Containing Groups

Create an LDIF file Containing Users

You must add the following user accounts to the directory:

The absolute DN of these user accounts will be determined by the DIT structure of your directory. For this example, you will populate them into the following subtree:

c=au,o=democorp,ou=Administrators,ou=Websphere

To create the LDIF file containing users

  1. Create the parent entries specified above.
  2. In a text editor, create a new document.
  3. Copy and paste the following LDIF representation into a new document:
    dn: c=au
    oc: top
    oc: country
    c: au
    
    dn: o=democorp,c=au
    oc: top
    oc: organization
    o: democorp
    
    dn: ou=groups,o=democorp, c=au
    oc: organizationalUnit
    oc: top
    ou: groups
    
    dn: ou=users,o=democorp,c=au
    objectClass: organizationalUnit
    objectClass: top
    ou: users
    
    dn: uid=wpsadmin,ou=users,o=democorp,c=au
    oc: inetOrgPerson
    oc: organizationalPerson
    oc: person
    oc: top
    userPassword: wpsadmin
    uid: wpsadmin
    cn: wps admin
    sn: admin
    
    dn: uid=wpsbind,ou=users,o=democorp,c=au
    oc: inetOrgPerson
    oc: organizationalPerson
    oc: person
    oc: top
    userPassword: wpsbind
    uid: wpsbind
    cn: wps bind
    sn: bind
    
  4. Save the new file as wpsusers.ldif.