| Summary: | admin server - register-ds-admin fails to find local config DS | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Noriko Hosoi <nhosoi> |
| Component: | Admin | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 10.0 | CC: | amsharma, nkinder, rmeggins |
| Target Milestone: | DS10.1 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-admin-1.1.44-1.el7dsrv | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-07 15:40:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
[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 |
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.