Bug #4347
closed
Incorrect detection of empty password/name in 'userManagement' Technique when several user are to be managed
Added by Nicolas CHARLES almost 11 years ago.
Updated almost 11 years ago.
Description
The detection of empty fields relies only on "isvariable" to detect empty value. However, while it makes sense to use isvariable for empty value when only one empty value is set (due to implementation used in cf-clerk), when we have several values, even when empty, the values are there, but empty.
To have proper detection, we should use both isvariable (for only one value) and strcmp
Reported originaly by Alex Tkachenko in #4342
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/267
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:9cb3221b00a790990efbb8c67748fa30b16b8509.
Applied in changeset policy-templates:commit:392067450a63770708950686640f9df9857c622a.
- Subject changed from Incorrect detection of empty password/name in usermanagement technique when several user are to be managed to Incorrect detection of empty password/name in 'userManagement' Technique when several user are to be managed
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.6.10 which was released today.
Check out:
Also available in: Atom
PDF