You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:15:41 UTC
[jira] [Created] (TRAFODION-335) LP Bug: 1324716 - sql-security
.traf_authentication_config file syntax errors
Alice Chen created TRAFODION-335:
------------------------------------
Summary: LP Bug: 1324716 - sql-security .traf_authentication_config file syntax errors
Key: TRAFODION-335
URL: https://issues.apache.org/jira/browse/TRAFODION-335
Project: Apache Trafodion
Issue Type: Bug
Components: sql-security
Reporter: Paul Low
Assignee: Cliff Gray
Priority: Minor
Fix For: 2.0-incubating
Two issues:
#1:
.traf_authentication_config will produce an error if there is a blank line containing a space character within a section in the config file
[trafodion@n001 scripts]$ ldapconfigcheck
File: /home/trafodion/traf_rm0522_v40819/sql/scripts/.traf_authentication_config
Invalid attribute name found on line 6.
Below is an example where .traf_authentication_config will fail. "<SPACE>" is a space character. It is the lone character in the whole line.
SECTION: defaults
TLS_CACertFilename: certificate.pem
SECTION: remote
LdapHostname:ldapservername.hp.com
<SPACE>
LdapPort:389
UniqueIdentifier:uid=,ou=organizationunit,o=hp.com
LdapSearchDN:
LdapSearchPwd:
LdapSSL:2
#2:
Remove extra error code in error message. "error 201" in the example below is not necessary.
>>register user asdfgh;
2014-05-29 22:36:34 GMT (pid=19669) Error detected while establishing LDAP connection: StartTLS failed for LDAP server ldap1234.hp.com. Error: -1, Can't contact LDAP server
2014-05-29 22:36:34 GMT (pid=19669) Error detected while establishing LDAP connection: LDAP server ldap1234.hp.com added to exclude list
2014-05-29 22:36:44 GMT (pid=19669) Error detected while establishing LDAP connection: Unable to establish initial LDAP connection after 5 retries, error 201
*** ERROR[1332] Error while communicating with the directory service.
--- SQL operation failed with errors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)