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

settings: skip unconfigured values #17

Closed
wants to merge 2 commits into from

Conversation

tkrizek
Copy link
Contributor

@tkrizek tkrizek commented Apr 7, 2017

When a value is not configured in settings map, it is skipped.
If it is the last processed value, the result of ISC_R_NOTFOUND
would cause the cleanup section of the function fail. Since
unconfigured values are allowed and expected, override the result
to ISC_R_SUCCESS in this case to prevent triggerring an error.

https://pagure.io/bind-dyndb-ldap/issue/172


Also removed obsolete options from the map.

Tomas Krizek added 2 commits April 7, 2017 14:48
When a value is not configured in settings map, it is skipped.
If it is the last processed value, the result of ISC_R_NOTFOUND
would cause the cleanup section of the function fail. Since
unconfigured values are allowed and expected, override the result
to ISC_R_SUCCESS in this case to prevent triggerring an error.

https://pagure.io/bind-dyndb-ldap/issue/172
Re-remove obsolete options cache_ttl, psearch, serial_autoincrement
and zone_refresh. They were already removed in
c3bfe1a, but re-introduced in
refactoring.
@tkrizek
Copy link
Contributor Author

tkrizek commented Apr 12, 2017

@MartinBasti Would you please test this PR? You can just install IPA with DNS and then remove server_id from named.conf. With this patch, it should be possible to sucessfully restart named-pkcs11. Before, it failed.

@MartinBasti MartinBasti self-assigned this Apr 12, 2017
@MartinBasti MartinBasti self-requested a review April 12, 2017 13:59
@MartinBasti
Copy link

LGTM

@tkrizek tkrizek added the ack label Apr 26, 2017
@tkrizek
Copy link
Contributor Author

tkrizek commented Apr 26, 2017

master

@tkrizek tkrizek closed this Apr 26, 2017
@tkrizek tkrizek added the pushed label Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants