sql-security .traf_authentication_config file syntax errors

Bug #1324716 reported by Paul Low
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
In Progress
Low
Cliff Gray

Bug Description

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.

Tags: sql-security
information type: Proprietary → Public
Paul Low (paul-low-x)
Changed in trafodion:
assignee: nobody → Cliff Gray (cliff-gray)
milestone: none → r1.0
status: New → Triaged
Paul Low (paul-low-x)
Changed in trafodion:
milestone: r1.0 → none
Paul Low (paul-low-x)
Changed in trafodion:
milestone: none → r1.1
Cliff Gray (cliff-gray)
Changed in trafodion:
milestone: r1.1 → r1.2
Cliff Gray (cliff-gray)
Changed in trafodion:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.