mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

2e3a1c2 Ticket #47420 - An upgrade script 80upgradednformat.pl fails to handle a server instance name incuding '-'

Authored and Committed by nhosoi 10 years ago
    Ticket #47420 - An upgrade script 80upgradednformat.pl fails to handle a server instance name incuding '-'
    
    Bug description: If a server instance name contains '-', e.g.,
    slapd-TEST-SERVER, it accidentally picks up the first part of
    the instance name 'TEST'.
    
    Fix description: Replacing "split(/-/, $instancedir)" with
    "split(/-/, $instancedir, 2)".
    
    https://fedorahosted.org/389/ticket/47420
    
    Reviewed by Rich (Thank you!!)
    (cherry picked from commit 4df4aad94f05ec9f8fde32bfe71b453d31092627)