What does the LDAPNOINIT=YES parameter do in the slapd.env file?
search cancel

What does the LDAPNOINIT=YES parameter do in the slapd.env file?

book

Article ID: 11633

calendar_today

Updated On:

Products

24X7 High-Availability Manager for DB2 for z/OS Batch Processor Compile QQF Data Compressor for DB2 for z/OS CA Unicenter NSM RC/Update for DB2 for z/OS DB2 TOOLS- DATABASE MISC

Issue/Introduction



What does the LDAPNOINIT=YES parameter do in the slapd.env file?

Environment

Release:
Component: GEN

Resolution

LDAPNOINIT skips the reading of the ldaprc override file.

The ldaprc file is an optional configuration file which would be used to override system-wide defaults.

It can contain information just like the slapd.conf file. For example, a keyword followed by a value. the ldaprc file is an override to the slapd.conf since as the ldap protocol states, the slapd.conf file is read first and then the ldaprc file (if one exists) is read second.

By placing the LDAPNOINIT environment variable in the slapd.env file, you tell LDAP that during initialization, don't even check for the existence of the ldaprc file since all of your configurations are in the slapd.conf file. Since LDAP doesn't check for the ldaprc file, you save time during initialization.