This page describes the ldapconfigcheck tool, which validates the syntactic correctness of a Trafodion authentication configuration file. Trafodion does not need to be running to run the tool.

If the configuration filename is not specified, the tool will look for a file using environment variables. Those environment variables and the search order are:

  1. TRAFAUTH_CONFIGFILE

    A fully qualified name is expected.

  2. TRAFAUTH_CONFIGDIR

    Filename .traf_authentication_config/ is appended to the specified directory

  3. MY_SQROOT

    /sql/scripts/.traf_authentication_config is appended to the value of MY_SQROOT.

Errors

One of the following is output when the tool is run. Only the first error encountered is reported.

Code Text
0 File filename is valid.
1 File filename not found.
2 File: filename

Invalid attribute name on line line-number.
3 File: filename

Missing required value on line line-number.
4 File: filename

Value out of range on line line-number.
5 File: filename

Open of traf_authentication_config file failed.
6 File: filename

Read of traf_authentication_config file failed.
7 No file provided. Either specify a file parameter or verify environment variables.
8 TLS was requested in at least one section, but TLS_CACERTFilename was not provided.
9 Missing host name in at least one section.

Each LDAP connection configuration section must provide at least one host name.
10 Missing unique identifier in at least one section.

Each LDAP connection configuration section must provide at least one unique identifier.
11 At least one LDAP connection configuration section must be specified.
12 Internal error parsing . traf_authentication_config.

Back to top


Disclaimer: Apache Trafodion is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Apache, Apache Maven, Apache Maven Fluido Skin, the Apache feather logo, the Apache Maven project logo and the Apache Incubator project logo are trademarks of The Apache Software Foundation.