Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide descriptive error message when neither suffix nor backend is specified for USN cleanup task #2388

Closed
389-ds-bot opened this issue Sep 13, 2020 · 7 comments
Labels
closed: fixed Migration flag - Issue

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49329


Issue Description

Providing either a suffix or backend attribute is necessary in order to create a USN tombstone cleanup entry. Otherwise the server will not accept the operation. However in this case it just returns a general error message which is not helpful at all: "ldap_add: Bad parameter to an ldap routine (-9)". We should replace this with a descriptive error message.

Steps to reproduce

Apply the following LDIF:

dn: cn=Example,cn=USN tombstone cleanup task,cn=tasks,cn=config
changetype: add
objectClass: top
objectClass: extensibleObject
@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from ilias95 (@ilstam) at 2017-07-20 22:24:25

Metadata Update from @ilstam:

  • Issue assigned to ilstam

@389-ds-bot
Copy link
Author

Comment from ilias95 (@ilstam) at 2017-07-21 02:40:57

0001-Issue-49329-Descriptive-error-msg-for-USN-cleanup-ta.patch

@389-ds-bot
Copy link
Author

Comment from ilias95 (@ilstam) at 2017-07-21 02:40:59

Metadata Update from @ilstam:

  • Custom field type adjusted to defect

@389-ds-bot
Copy link
Author

Comment from ilias95 (@ilstam) at 2017-07-21 02:41:17

Metadata Update from @ilstam:

  • Custom field reviewstatus adjusted to review

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-07-24 01:56:25

commit dfc8896
To ssh://git@pagure.io/389-ds-base.git
dda766a..dfc8896 master -> master

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-07-24 01:56:26

Metadata Update from @Firstyear:

  • Custom field reviewstatus adjusted to ack (was: review)

@389-ds-bot
Copy link
Author

Comment from ilias95 (@ilstam) at 2017-07-28 15:20:08

Metadata Update from @ilstam:

  • Custom field component adjusted to None
  • Custom field origin adjusted to None
  • Custom field version adjusted to None
  • Issue close_status updated to: fixed
  • Issue status updated to: Closed (was: Open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant