Bug 1332533
Summary: | ns-accountstatus.pl gives error message on execution along with results. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Amita Sharma <amsharma> |
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | amsharma, mreynolds, nkinder, rmeggins |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.5.5-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 20:41:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Amita Sharma
2016-05-03 12:22:51 UTC
Upstream ticket: https://fedorahosted.org/389/ticket/48815 Fixed upstream. [root@mgmt7 sbin]# rpm -qa | grep 389-ds-base 389-ds-base-1.3.5.2-1.el7.x86_64 389-ds-base-libs-1.3.5.2-1.el7.x86_64 [root@mgmt7 sbin]# /usr/sbin/ns-accountstatus.pl -D "cn=Directory Manager" -w Secret123 -Z slapd-mgmt7 -p 389 -h localhost -I "uid=sghai,dc=example,dc=com" Can not find suffix for entry uid=sghai,dc=example,dc=com Error Logs :: -------------- [10/Jun/2016:05:45:35.378183529 -0400] conn=100 op=0 ENTRY dn="" [10/Jun/2016:05:46:03.328607321 -0400] conn=101 op=0 ENTRY dn="" [10/Jun/2016:05:46:03.376549269 -0400] conn=102 op=1 ENTRY dn="uid=sghai,dc=example,dc=com" [10/Jun/2016:05:46:03.432735821 -0400] conn=104 op=1 ENTRY dn="cn=Account Policy Plugin,cn=plugins,cn=config" [10/Jun/2016:05:46:03.460705076 -0400] conn=105 op=1 ENTRY dn="cn=config,cn=Account Policy Plugin,cn=plugins,cn=config" [10/Jun/2016:05:46:03.488767347 -0400] conn=106 op=1 ENTRY dn="uid=sghai,dc=example,dc=com" [10/Jun/2016:05:46:03.516808110 -0400] conn=107 op=1 ENTRY dn="cn=Account Inactivation Policy,dc=example,dc=com" [10/Jun/2016:05:46:03.545035184 -0400] conn=108 op=1 ENTRY dn="uid=sghai,dc=example,dc=com" [10/Jun/2016:05:46:32.660673381 -0400] conn=114 op=0 ENTRY dn="" [10/Jun/2016:05:46:59.278684830 -0400] conn=115 op=0 ENTRY dn="" Access Logs:: ------------------ [root@mgmt7 ~]# tail -f /var/log/dirsrv/slapd-mgmt7/errors [10/Jun/2016:04:47:31.505256212 -0400] slapd shutting down - waiting for 28 threads to terminate [10/Jun/2016:04:47:31.529145622 -0400] slapd shutting down - closing down internal subsystems and plugins [10/Jun/2016:04:47:31.597251880 -0400] Waiting for 4 database threads to stop [10/Jun/2016:04:47:31.951726876 -0400] All database threads now stopped [10/Jun/2016:04:47:31.979254795 -0400] slapd shutting down - freed 1 work q stack objects - freed 1 op stack objects [10/Jun/2016:04:47:32.136418205 -0400] slapd stopped. [10/Jun/2016:04:47:32.403402791 -0400] 389-Directory/1.3.5.2 B2016.125.1914 starting up [10/Jun/2016:04:47:32.641485451 -0400] convert_pbe_des_to_aes: Checking for DES passwords to convert to AES... [10/Jun/2016:04:47:32.672472551 -0400] convert_pbe_des_to_aes - No DES passwords found to convert. [10/Jun/2016:04:47:32.694026232 -0400] slapd started. Listening on All Interfaces port 389 for LDAP requests [10/Jun/2016:05:09:59.861084705 -0400] NS7bitAttr - MODIFY begin [10/Jun/2016:05:11:08.464778269 -0400] NS7bitAttr - MODIFY begin More Information :: =================== 1. it was introduced by c39bed2e05cca1c73354dcca9f39f3d90594dc9a 2. it does search in the mapping tree entry with the filter cn=dc=example,dc=com, when it should search for cn="dc=example,dc=com" 3. http://pastebin.test.redhat.com/382562 Reproduced issue. There is a patch out for review... Fixed upstream 389-ds-base-1.3.5.6-1.el7.x86_64 I have executed the steps mentioned in comment#0 and it is working fine. Marking the bug as verified. Thanks Mark and Noriko. 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/RHSA-2016-2594.html |