Bug 842498
Summary: | ISC-DHCP server with LDAP configuration does not respect FailOver options | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | William Brown <william> | ||||||
Component: | dhcp | Assignee: | Jiri Popelka <jpopelka> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 17 | CC: | jpopelka, thozza, william | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-05-10 07:19:08 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Thank you William. I'm however not sure I want to maintain such a big patch. As with bug #838400, please send it upstream and let me know what's the assigned ID. The majority of this patch is the LDAP ldif formatted schema, not code changes which makes it appear larger than it really is. I can split this patch into 3 patches for each of the modified files if you would prefer. All in one patch is better. I have had a quick rethink and have decided that I will submit the change to ldif formatted schema at a later time. Does this patch seem more acceptable with that in mind? Created attachment 600007 [details]
Patch without the ldif formatted schema changes.
[ISC-Bugs #30402] |
Created attachment 599901 [details] Patch to allow FailOverPeer's to be configured with LDAP backend. Description of problem: ISC-DHCP server with an LDAP backend does not properly utilise the dhcpFailOverPeer object to generate it's configuration. Additionally, there was no way to specifiy a relationship between a dhcpPool and a dhcpFailOverPeer configuration. The attached patch corrects the issue, and allows dhcpFailOverPeer options to be read and generated. The attached patch adds a dhcpFailOverPeer parser, modifies the dhcpPool parser to accept dhcpFailOverDN options, and modifies the LDAP schema to all a dhcpFailOverDN object to exist in a dhcpPool. Note that this dhcpFailOverDN is *NOT* followed by the configuration tool like the dhcpFailOverPeerDN options - This is merely a reference so that the pool can generate the correct peer name. Finally, I have also added a copy of the ldap schema in ldif format for 389ds and OpenLDAP to utilise.