Bug 1385520

Summary: Change in any attribute in configuration log change the font style of mode label field
Product: Red Hat Directory Server Reporter: Kamlesh <kchaudha>
Component: Directory ConsoleAssignee: mreynolds
Status: CLOSED WONTFIX QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0CC: kbanerje, mreynolds, nhosoi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-26 08:30:14 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:
Attachments:
Description Flags
Video none

Description Kamlesh 2016-10-17 08:56:21 UTC
Created attachment 1211251 [details]
Video

Description of problem:
Change any attribute in configuration log fields will change the font style of  "mode: font style.
There is no update about the "nsslapd-accesslog-mode" attribute in Audit file. but it adds multiple update about the  "nsPreference" attribute

<snip>
time: 20161017125156
dn: cn=config
result: 0
changetype: modify
replace: nsslapd-accesslog-logmaxdiskspace
nsslapd-accesslog-logmaxdiskspace: 130
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072156Z
-

time: 20161017125158
dn: cn=ResourcePage,ou=1.1,ou=Console,ou=uid\=admin\,ou\=Administrators\,ou\=TopologyManagement\,o\=NetscapeRoot,ou=UserPreferences,ou=example.com,o=NetscapeRoot
result: 0
changetype: modify
replace: nsPreference
nsPreference:: IwojTW9uIE9jdCAxNyAxMjo1MTo1OCBJU1QgMjAxNgpTaG93VHJlZT10cnVlCg=
 =
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072158Z
-

time: 20161017125158
dn: cn=ResourcePage,ou=1.1,ou=Console,ou=uid\=admin\,ou\=Administrators\,ou\=TopologyManagement\,o\=NetscapeRoot,ou=UserPreferences,ou=example.com,o=NetscapeRoot
result: 0
changetype: modify
replace: nsPreference
nsPreference:: IwojTW9uIE9jdCAxNyAxMjo1MTo1OCBJU1QgMjAxNgpTaG93VHJlZT10cnVlCg=
 =
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072158Z
-

time: 20161017125158
dn: cn=General,ou=1.1,ou=Console,ou=uid\=admin\,ou\=Administrators\,ou\=TopologyManagement\,o\=NetscapeRoot,ou=UserPreferences,ou=example.com,o=NetscapeRoot
result: 0
changetype: modify
replace: nsPreference
nsPreference:: IwojTW9uIE9jdCAxNyAxMjo1MTo1OCBJU1QgMjAxNgpXaWR0aD03NTAKU2hvd1N
 0YXR1c0Jhcj10cnVlClNob3dCYW5uZXJCYXI9dHJ1ZQpZPTIyMwpYPTUwNApIZWlnaHQ9NTMwCg==
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072158Z
-

time: 20161017125158
dn: cn=General,ou=1.1,ou=Console,ou=uid\=admin\,ou\=Administrators\,ou\=TopologyManagement\,o\=NetscapeRoot,ou=UserPreferences,ou=example.com,o=NetscapeRoot
result: 0
changetype: modify
replace: nsPreference
nsPreference:: IwojTW9uIE9jdCAxNyAxMjo1MTo1OCBJU1QgMjAxNgpXaWR0aD03NTAKU2hvd1N
 0YXR1c0Jhcj10cnVlClNob3dCYW5uZXJCYXI9dHJ1ZQpZPTIyMwpYPTUwNApIZWlnaHQ9NTMwCg==
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072158Z
-

time: 20161017125159
dn: cn=General,ou=1.1,ou=Console,ou=uid\=admin\,ou\=Administrators\,ou\=TopologyManagement\,o\=NetscapeRoot,ou=UserPreferences,ou=example.com,o=NetscapeRoot
result: 0
changetype: modify
replace: nsPreference
nsPreference:: IwojTW9uIE9jdCAxNyAxMjo1MTo1OSBJU1QgMjAxNgpXaWR0aD03NTAKU2hvd1N
 0YXR1c0Jhcj10cnVlClNob3dCYW5uZXJCYXI9dHJ1ZQpZPTE4NApYPTQ2NQpIZWlnaHQ9NTMwCg==
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072159Z
-

time: 20161017125159
dn: cn=General,ou=1.1,ou=Console,ou=uid\=admin\,ou\=Administrators\,ou\=TopologyManagement\,o\=NetscapeRoot,ou=UserPreferences,ou=example.com,o=NetscapeRoot
result: 0
changetype: modify
replace: nsPreference
nsPreference:: IwojTW9uIE9jdCAxNyAxMjo1MTo1OSBJU1QgMjAxNgpXaWR0aD03NTAKU2hvd1N
 0YXR1c0Jhcj10cnVlClNob3dCYW5uZXJCYXI9dHJ1ZQpZPTE4NApYPTQ2NQpIZWlnaHQ9NTMwCg==
-
replace: modifiersname
modifiersname: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo
 t
-
replace: modifytimestamp
modifytimestamp: 20161017072159Z
-
</snip>

If we change the same attribute using ldapmodify it only update about the mod attribute
[root@test ~]# ldapmodify -D "cn=Directory Manager" -h localhost -p 389 -w test1234
dn: cn=config
changetype: modify
replace: nsslapd-accesslog-logmaxdiskspace
nsslapd-accesslog-logmaxdiskspace: 150
modifying entry "cn=config"


# cat /var/log/dirsrv/slapd-test
<snip>
time: 20161017130826
dn: cn=config
result: 0
changetype: modify
replace: nsslapd-accesslog-logmaxdiskspace
nsslapd-accesslog-logmaxdiskspace: 150
-
replace: modifiersname
modifiersname: cn=directory manager
-
replace: modifytimestamp
modifytimestamp: 20161017073826Z
 


Version-Release number of selected component (if applicable):
redhat-idm-console-10.1.0-2.el7dsrv.x86_64
389-adminutil-1.1.23-2.el7dsrv.x86_64
389-ds-base-1.3.5.10-11.el7.x86_64
389-ds-console-1.2.15-1.el7dsrv.noarch
389-console-1.1.18-2.el7dsrv.noarch
389-admin-console-1.1.12-2.el7dsrv.noarch
389-admin-debuginfo-1.1.45-2.el7dsrv.x86_64
idm-console-framework-1.1.17-1.el7dsrv.noarch
389-admin-1.1.45-2.el7dsrv.x86_64


How reproducible:
100%

Steps to Reproduce:
1. edit the "when total log size exceed" filed in console