-
Notifications
You must be signed in to change notification settings - Fork 103
Issue 6067 - Improve dsidm CLI No Such Entry handling #6079
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's still a bit awkward that it allows to enter some details only to fail later:
dsidm localhost -b dc=example,dc=com service create
Enter value for cn : test
Enter value for description : test
Error: The base DN "ou=Services,dc=example,dc=com" does not exist
But the new error message is an improvement :)
LGTM
Okay, it was actually another typo in the same code area ( |
Add additional error processing to dsidm CLI tool for when basedn or OU subentries are absent. Related: 389ds#6067 Reviewed by: ?
|
Sorry to re-open this one, but shouldn't
|
|
Hi @Firstyear . |
|
But if the default value is set, it's assumed the admin wants to use that unless they override it with -b? We had a customer report this as a regression in behaviour, which is why I bring it up :) |
I agree. I think it should be |
Add additional error processing to dsidm CLI tool for when basedn or OU subentries are absent.
Related: #6067
Reviewed by: ?