DHCP and MySQL

Jeff Vian jvian10 at charter.net
Tue Jun 29 17:46:36 UTC 2004


On Mon, 2004-06-28 at 21:23, Jason L Tibbitts III wrote:
> >>>>> "AN" == Alejandro Navarro <anavarro at dinanet.net.co> writes:
> 
> AN> Is there any way to force the DHCP service to not to read the
> AN> dhcp.conf file to authorize the leases, and instead to take the
> AN> data base information running in MySQL?
> 

One easy way would be to do an update to the mysql table, then have a
tag part of the script used to update the database with adds/deletes
that writes an updated dhcp.conf file from the new values in the
database.  this would basically automate it so you only have to poke the
values into the database and you would be done.


Although if you were to write a patch for dhcp to use an sql table of
some flavor it would likely be appreciated by many.
 
> I think you'd have to do quite a bit of coding to make that work.
> However, I do recall seeing patches to integrate ISC DHCPd and LDAP:
> 
> http://www.lunytune.net/isc-ldap.html
> http://www.newwave.net/~masneyb/
> 
> (beware using any of the 3.0.1 release candidates before rc14).
> 
>  - J<
> 





More information about the users mailing list