-
Bug
-
Resolution: Unresolved
-
Minor
-
rhel-9.4
-
None
-
None
-
sst_idm_ds
-
ssg_idm
-
0
-
Dev ack
-
False
-
-
Yes
-
None
-
None
-
None
-
Known Issue
-
-
Proposed
-
None
What were you trying to do that didn't work?
Deleting some attribute (like nsslapd-haproxy-trusted-ip) doesn't work, requires server restart to get rid of the attribute.
Please provide the package NVR for which bug is seen:
389-ds-base-2.4.5-3.el9.x86_64
How reproducible:
always
Steps to reproduce
- Check if the attribute is present
- Delete the attribute
- Check if the attribute is still present
- Try to delete it again
Expected results
Attribute should be deleted
Actual results
Check if the attribute is present:
# ldapsearch -xLLL -D cn=Directory\ Manager -w password -H ldap://localhost:389 -b cn=config nsslapd-haproxy-trusted-ip | grep haproxy nsslapd-haproxy-trusted-ip: 127.0.0.1
Try to delete it:
# ldapmodify -D cn=Directory\ Manager -w password -H ldap://localhost:389 << EOF dn: cn=config changetype: modify delete: nsslapd-haproxy-trusted-ip nsslapd-haproxy-trusted-ip: 127.0.0.1 EOF modifying entry "cn=config"
Check if it was deleted:
# ldapsearch -xLLL -D cn=Directory\ Manager -w password -H ldap://localhost:389 -b cn=config nsslapd-haproxy-trusted-ip | grep haproxy nsslapd-haproxy-trusted-ip: 127.0.0.1
Try to delete it again:
# ldapmodify -D cn=Directory\ Manager -w password -H ldap://localhost:389 << EOF dn: cn=config changetype: modify delete: nsslapd-haproxy-trusted-ip nsslapd-haproxy-trusted-ip: 127.0.0.1 EOF modifying entry "cn=config" ldap_modify: No such attribute (16)