LDAP...
Brian Masney
masneyb at ntelos.net
Thu Nov 13 18:17:38 UTC 2003
On Thu, Nov 13, 2003 at 06:52:11PM +0100, Markus Schabel wrote:
> Hello!
>
> Some questions about DHCP and LDAP (again). I know the LDAP patch from
> Brian Masney (http://home.ntelos.net/~masneyb/) to read the DHCP config
> from an LDAP directory - which works here without problems for over one
> year. What is keeping that patch from the official source-tree? Can
> there be anything done to get it in?
?
> I'd like to store the active leases in my LDAP directory - which at the
> moment works fine with a perl script which parses the lease-file, but I
> guess the better solution would be to implement this in the server? As
> far as I can see all the functions regarding the lease-file are in db.c?
> So I would have to replace the db.c with a new db_ldap.c which stores
> all lease data in LDAP? Would you like to see this in the offical source
> and configurable at compile time?
When I wrote my LDAP patch, I looked at implementing this part of the LDAP
schema. If you have a DHCP server with any kind of load on it, the LDAP
server probably would not be able to keep up. Reads happen very fast, writes
take much longer to complete. I don't have too much time to spare at the
moment, but I could maybe try help you implement this if you want.
> I'd like to use the ietf-draft from 2001 about "LDAP Schema for DHCP"
> which has expired, but AFAIKT there is no newer version and it seems
> well-tought for me. Any comments about this?
>
> http://www.ietf.org/proceedings/01aug/I-D/draft-ietf-dhc-ldap-schema-00.txt
I include this draft document in my patch. It gets placed in the doc/
directory.
Brian
More information about the dhcp-hackers
mailing list