You are on page 1of 5

dc=Domain Component dn=Distinguished Name rdn=Relative Distinguished Name cn=Common Name Installation Steps 1. Download apacheds-1.5.7 2. Extract it 3. go to apacheds-1.5.

7/bin >> apacheds.bat 4. Download JXplorer & Setup 5. Start JXplorer, click on File > Connect and enter the following values Host: localhost, Port: 10389, Protocol: LDAP v3, Base DN: leave blank, Level: User + Password, User DN: 'uid=admin,ou=system' (without quotes), Password: secret

To Change Admin Password Expand System tree, select admin user and click on Table Editor tab on the right hand panel Click the value column on userPassword field and a User Password Data dialog pops up Change the password in the dialog and click OK. [Please dont give password as surname, name ] new password: secure Remember this password, you will need it in the future!

Click Submit button Disconnect from Apache DS in JXplorer using File > Disconnect Use JXplorer to login with new password and make sure it works

To Add New Partition for New Organization <jdbmPartition id="surekhatech" cacheSize="100" suffix="dc=surekhatech,dc=com" optimizerEnabled="true" syncOnWrite="true"> <indexedAttributes> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.1" cacheSize="100"/> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.2" cacheSize="100"/> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.3" cacheSize="100"/> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.4" cacheSize="100"/> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.5" cacheSize="10"/> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.6" cacheSize="10"/> <jdbmIndex attributeId="1.3.6.1.4.1.18060.0.4.1.2.7" cacheSize="10"/> <jdbmIndex attributeId="dc" cacheSize="100"/> <jdbmIndex attributeId="ou" cacheSize="100"/> <jdbmIndex attributeId="krb5PrincipalName" cacheSize="100"/> <jdbmIndex attributeId="uid" cacheSize="100"/> <jdbmIndex attributeId="objectClass" cacheSize="100"/> </indexedAttributes> </jdbmPartition> import below surekhatech.ldif

from JXplorer->LDIF->Import File version: 1 DN: dc=surekhatech,dc=com objectClass: organization objectClass: dcObject objectClass: top dc: surekhatech o: surekhatech.com

DN: ou=Groups,dc=surekhatech,dc=com objectClass: organizationalUnit objectClass: top ou: Groups

DN: ou=Employees,ou=Groups,dc=surekhatech,dc=com objectClass: organizationalUnit objectClass: top ou: Employees

DN: uid=devang,ou=Employees,ou=Groups,dc=surekhatech,dc=com objectClass: organizationalPerson objectClass: person objectClass: krb5Principal objectClass: krb5KDCEntry objectClass: inetOrgPerson objectClass: top

cn: Devang Soni givenName: Devang krb5KeyVersionNumber: 0 krb5PrincipalName: devang@surekhatech.com sn: Soni uid: devang userPassword:: c2VjcmV0

DN: ou=CEO,ou=Groups,dc=surekhatech,dc=com objectClass: organizationalUnit objectClass: top ou: CEO

DN: uid=gaurav,ou=CEO,ou=Groups,dc=surekhatech,dc=com objectClass: organizationalPerson objectClass: person objectClass: krb5Principal objectClass: inetOrgPerson objectClass: krb5KDCEntry objectClass: top cn: Gaurav Shah givenName: Gaurav krb5KeyVersionNumber: 0 krb5PrincipalName: gaurav@surekhatech.com sn: Shah uid: gaurav

userPassword:: c2VjcmV0

To Export from JXplorer->LDIF->Export Subtree Root DN: dc=surekhatech,dc=com New Root DN: dc=surekhatech,dc=com

Now To see Only SurekhaTech Structure . Start JXplorer, click on File > Connect and enter the following values Host: localhost, Port: 10389, Protocol: LDAP v3, Base DN: dc=surekhatech,dc=com, Level: User + Password, User DN: 'uid=admin,ou=system' (without quotes), Password: secret

Liferay Integration Control Panel -> Settings -> Authentication -> LDAP Click on Enabled -> Save Add Server:

You might also like