Reading config file using perl.

Verne Arase varase at lumc.edu
Sun Jul 30 02:00:36 UTC 2006


-- Verne

On Jul 27, 2006, at 10:48 AM, Zane C.Bowers wrote:

> On Wed, 26 Jul 2006 19:35:21 -0800
> kalyanasundaram S <s.kalyanasundaram at inbox.com> wrote:
>>>
>>> Any one know of any perl modules for parsing dhcpd.conf?
>>
>> may we know what for you are searching a perl module.
>> I can say something.
>> http://home.ntelos.net/~masneyb/dhcp-3.0.4-ldap-patch
>>
>> This patch is for making dhcp to work with directory Services. After
>> applying the patch you get dhcpd-conf-to-ldap.pl file in
>> dhcp-3.0.x/contrib folder. That perl module parse and convert your
>> dhcpd.conf file to a ldif file.
>
> It can't parse something like this.
>
> host whatever {hardware ethernet 00:14:BF:A8:86:B4; fixed-address  
> 10.0.1.2;}
>
>



More information about the dhcp-users mailing list