Project

General

Profile

Actions

Bug #2803

closed

Initialization of LDAP credentials in rudder-upgrade script can match comments and several lines from rudder-web.properties

Added by Nicolas PERRON over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
3
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The initialization of LDAP credentials in rudder-upgrade script is not enough strict and can match comments and several lines from rudder-web.properties:

If there is a commented attribute in rudder-web.properties:

ldap.authdn=cn=manager,cn=rudder-configuration
#ldap.authdn=cn=manager,cn=rudder-configuration

LDAP credentials in rudder-upgrade will match both of these lines:

root@server:~$ grep -E "ldap.authdn=" /opt/rudder/etc/rudder-web.properties |cut -d "=" -f 2-
cn=manager,cn=rudder-configuration
cn=manager,cn=rudder-configuration

Actions #1

Updated by Nicolas PERRON over 11 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:305393aca52648f5de684d24a4f6dd7d0ca29c50.

Actions #2

Updated by Matthieu CERDA over 11 years ago

Approved !!!

Actions #3

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending technical review to Released
Actions #4

Updated by Nicolas PERRON about 11 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #5

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF