Red Hat Bugzilla – Bug 842498
ISC-DHCP server with LDAP configuration does not respect FailOver options
Last modified: 2013-05-10 03:19:08 EDT
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.
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.