IBM Support

Changing the AutoStart Setting for LDAP (IBM TIvoli Directory Server) from iNavigator or a 5250 Session (if iNavigator Not Available)

Troubleshooting


Problem

This document explains how to change the LDAP (IBM Tivoli Directory Server) default of AutoStart.

Resolving The Problem

This document explains how to change the LDAP (IBM Tivoli Directory Server) default of AutoStart.

By default, the LDAP(IBM Tivoli Directory Server) is set to AutoStart when TCP/IP is started. This can be changed by opening the Properties for the IBM Tivoli Directory Server from IBM Navigator for i. If IBM Navigator for i is not immediately available, LDAP AutoStart can also be changed from a 5250 session.

Note: Starting with the V6R1 release, LDAP(IBM Tivoli Directory Server) supported multiple instances of LDAP servers. The conversion to multiple servers changed where the Auto Start is controlled.

To change the Auto Start attribute for an LDAP server instance (QUSRDIR is the default instance) from a 5250 command line, you should do the following:
1. On the 5250 command line, issue the following command:

WRKLNK '/QIBM/UserData/OS400/DirSrv/idsinstinfo/idsinstances.ldif'
2. Use Option 2 to edit the file and change value(s) for the ids-instanceAutostart as desired. Next, press F3 two times to save and exit.

An example of the Edit screen is shown below:

Edit File: /qibm/UserData/OS400/DirSrv/idsinstinfo/idsinstances.ldif
 Record :       1   of      27 by   8            Column :    1     59
 Control :                                                            
                                                                     
CMD ....+....1....+....2....+....3....+....4....+....5....+....6....+.
  ************Beginning of data**************        

charset: ISO-8859-1
version: 1

dn: CN=IDS INSTANCES
cn: IDS INSTANCES
objectClass: TOP
objectClass: CONTAINER

dn: cn=QUSRDIR, CN=IDS INSTANCES
cn: QUSRDIR
ids-instanceAutostart: 1 <===== 1=Autostart On, 0=Autostart Off for the default QUSRDIR instance
ids-instanceDesc: default LDAP instance
ids-instanceLocation: /QIBM/UserData/OS400/DirSrv
ids-instanceVersion: 6.1
objectClass: TOP
objectClass: ids-instance

dn: cn=INST2, CN=IDS INSTANCES
cn: INST2
ids-instanceAutostart: 1 <=== 1=Autostart On, 0=Autostart Off for another (INST2, in this example) instance (if one exists).
ids-instanceDesc: Second LDAP instance
ids-instanceLocation: /QIBM/UserData/OS400/DirSrv
ids-instanceVersion: 6.1
objectClass: TOP
objectClass: ids-instance

************End of Data********************
Note: If IBM Navigator for i is available, it is the recommended method to change these settings by going into the Properties for the individual instance(s).

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CJ2AAM","label":"IBM i Tivoli Directory Server"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

640060143

Document Information

Modified date:
18 June 2024

UID

nas8N1010874