#48892 Wrong result code display in audit-failure log
Closed: wontfix None Opened 7 years ago by nhosoi.

Description of problem:
After the modifying entry in DS using the wrong object, it display error on
console with error code 32 but in audit-failure log it display result -1

How reproducible:
Always

Steps to Reproduce:
1. ldapmodify -D "cn=Directory Manager" -w test1234 -p 14000 -h
test.example.com
dn: uid=test,ou=People,dc=example,dc=com
changetype:modify
replace:sn
sn:balu

Actual results:

modifying entry "uid=test,ou=People,dc=example,dc=com"
ldap_modify: No such object (32)
        matched DN: ou=People,dc=example,dc=com


in Log audit-filure log
time: 20160523194032
dn: uid=test,ou=People,dc=example,dc=com
result: -1
changetype: modify
replace: sn
sn: balu
-
replace: modifiersname
modifiersname: cn=directory manager
-
replace: modifytimestamp
modifytimestamp: 20160523141032Z


Expected results:

time: 20160523194032
dn: uid=test,ou=People,dc=example,dc=com
result: 32
changetype: modify
replace: sn
sn: balu
-
replace: modifiersname
modifiersname: cn=directory manager
-
replace: modifytimestamp
modifytimestamp: 20160523141032Z

Reviewed by William (Thanks a lot!!)

Pushed to master:
f6f9aa3..4c2656d master -> master
commit 4c2656d

Metadata Update from @nhosoi:
- Issue assigned to nhosoi
- Issue set to the milestone: 1.3.5.7

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1951

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata