Setting up LDAP server

I want to learn how to setup a Standalone LDAP User registry as well as how to setup a Federated User Repository that will use LDAP user repository as one of the repositories. In order to do that i did Install IBM's Tivoli Directory Server on my machine.

After installing Tivoli directory server open PortalUsers.ldif file that is in IL-Setup CD as a part of the WebSPhere Portal Installation media. And change it according to your cooperate directory. I changed it like this

dn: dc=ibm,dc=com
objectclass: domain
objectclass: top
# Add lines according to this scheme that correspond to your suffix
dc: ibm,dc=com
dc: ibm

dn: cn=users,dc=ibm,dc=com
objectclass: container
objectclass: top
cn: users

dn: cn=groups,dc=ibm,dc=com
objectclass: top
objectclass: container
cn: groups

dn: uid=wpsadmin,cn=users,dc=ibm,dc=com
objectclass: organizationalPerson
objectclass: person
objectclass: top
objectclass: inetOrgPerson
uid: wpsadmin
userpassword: wpsadmin
sn: admin
givenName: wps
cn: wps admin

dn: uid=wpsbind,cn=users,dc=ibm,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
uid: wpsbind
userpassword: wpsbind
sn: bind
givenName: wps
cn: wps bind

dn: cn=wpsadmins,cn=groups,dc=ibm,dc=com
objectclass: groupOfUniqueNames
objectclass: top
uniquemember: uid=wpsadmin,cn=users,dc=ibm,dc=com
cn: wpsadmins

This LDIF file creates one group wpsadmin and two users wpsadmin and wpsbind.

Now go to /opt/ibm/V6.1/ldap/sbin and execute ./idsxcfg to start the IBM tivoli directory server configuration tool. Once the Tivoli directory server configuration tool is started first add dc=ibm,dc=com as suffix if its not already there

Then go to Import LDIF data page, select the PortalUsers.ldif file here and click on Import. It will take couple of minutes to import all the users in your LDAP server.

If your not able to import .ldif file you can manually create the users using IDS console. Irrespective of the method that you use to setup LDAP, at the end you should have structure like this


Dan said...

thanks. was useful reference for the exact thing i needed to do

Olya Olegovna said...

Nice one! like it! Thanks! call center outsourcing companies

srjwebsolutions said...

We are leading responsive website designing and development company in Noida.
We are offering mobile friendly responsive website designing, website development, e-commerce website, seo service and sem services in Noida.

Responsive Website Designing Company in Noida
Website Designing Company in Noida
SEO Services in Noida
SMO Services in Noida

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

EG MEDI said... is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery

Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store