getLocalConfigDS() expects the ldapStart attribute from adm.conf to be in the format: {{{ ldapStart: /start-dirsrv slapd-localhost }}} But start-dirsrv can accept the server ID without the prefix of "slapi-" {{{ ldapStart: /start-dirsrv localhost }}} getLocalConfigDS() needs to handle both cases, otherwise register-ds-admin.pl fails to find the local configDS, and the script keeps asking for the admin password and never progresses.
[root@dhcp210-134 lib64]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 Beta (Maipo) [root@dhcp210-134 lib64]# rpm -qa | grep 389 389-console-1.1.18-1.el7dsrv.noarch 389-admin-1.1.44-1.el7dsrv.x86_64 389-admin-console-1.1.12-1.el7dsrv.noarch 389-ds-console-1.2.13-1.el7dsrv.noarch 389-ds-base-1.3.5.10-10.el7.x86_64 389-adminutil-1.1.23-1.el7dsrv.x86_64 389-ds-base-libs-1.3.5.10-10.el7.x86_64 Executed register-ds-admin.pl ==================================== If you want to register the server dhcp210-134, input the Directory Manager password on the server. If you don't, type return. [Directory Manager password on dhcp210-134 or return]: Instance 'slapd-dhcp210-134' was successfully registered. ============================================================================== Beginning Admin Server reconfiguration . . . Creating Admin Server files and directories . . . Updating adm.conf . . . Updating admpw . . . Registering admin server with the configuration directory server . . . Updating adm.conf with information from configuration directory server . . . Updating the configuration for the httpd engine . . . Restarting admin server . . . The admin server was successfully started. Admin server was successfully reconfigured and started. ==================================== Worked well. Hence marking the bug as VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2665.html