Debian Bug report logs - #499707
please merge LWAT and DHCP machine objects in LDAP

version graph

Package: lwat; Maintainer for lwat is Patrick Winnertz <winnie@debian.org>;

Reported by: Holger Levsen <holger@layer-acht.org>

Date: Sun, 21 Sep 2008 13:03:02 UTC

Severity: wishlist

Found in version lwat/0.17-4

Fixed in version 0.17-4.2+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Patrick Winnertz <winnie@debian.org>:
Bug#499707; Package lwat. (Sun, 21 Sep 2008 13:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
New Bug report received and forwarded. Copy sent to Patrick Winnertz <winnie@debian.org>. (Sun, 21 Sep 2008 13:03:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: submit@bugs.debian.org
Subject: please merge LWAT and DHCP machine objects in LDAP
Date: Sun, 21 Sep 2008 15:00:28 +0200
[Message part 1 (text/plain, inline)]
package: lwat
severity: wishlist
version: 0.17-4

----------  Forwarded Message  ----------

Subject: Merge LWAT and DHCP machine objects in LDAP?
Date: Tuesday 05 August 2008 20:24
From: Petter Reinholdtsen <pere@hungry.com>
To: debian-edu@lists.debian.org

With the introduction of DHCP configuration in LDAP, we also
introduced a new kind of machine object in LDAP.  The way our LDAP
currently is structured these machine objects are not seen by LWAT,
and machine objects created by LWAT are not seen by the DHCP server.
Someone should look into merging the two.

I suspect the DHCP server can be told to look for dhcpHost objects in
the entire LDAP three, and then we can extend LWAT to create and
maintain them.  But I am not sure, and someone need to test if this is
possible.

We could also write a script to create machine objects automatically
in LDAP based on the information collected by sitesummary.  This way,
new machines could automatically show up in LDAP and the admin only
need to assign the new machine to groups, instead of having to track
down IP and MAC addresses.

One issue to look at is if it is possible to allow completely
automatic update in LDAP using a sitesummary hook.  If that is
possible, new hosts could show up almost immediately after
installation.

Another thing to keep in mind is how machine objects will work if we
move the DNS server to fetch its configuration from LDAP too.

Any volunteers to work on this?  It should be solved before we release
the Lenny based Skolelinux version.

Happy hacking,
--
Petter Reinholdtsen

-------------------------------------------------------

----------  Forwarded Message  ----------

Subject: Re: Merge LWAT and DHCP machine objects in LDAP?
Date: Wednesday 06 August 2008 09:23
From: Finn-Arne Johansen <faj@bzz.no>
To: Petter Reinholdtsen <pere@hungry.com>
Cc: debian-edu@lists.debian.org

Petter Reinholdtsen skrev:
> With the introduction of DHCP configuration in LDAP, we also
> introduced a new kind of machine object in LDAP.  The way our LDAP
> currently is structured these machine objects are not seen by LWAT,
> and machine objects created by LWAT are not seen by the DHCP server.
> Someone should look into merging the two.

There are now at least 3 machine objects that are stored in ldap:
 A machine that is a member of a net-group
 A machine that is member of the samba domain
 A machine that exists in DHCP
In a short distance I can see 2 or 3 more:
 DNS information for the host
 Reverse DNS information
 Squid access information (Or maybe that should be provided based on
netgroup)

I would like to be able to add a machine by entering all information on
into a single form.

For users, we use templates, and for the users there are 2 objects added
for each user added, the user object, and the personal group object. I'm
not sure if it's possible to add more than a couple of objects, due to
limitations in the schemas, but I've not tried. By now (if my memory is
correct) LWAT creates an object which combines netgroup with samba
domain-member (which is actually a user object). I've not tried to
combine DHCP-info with an existing machine object, but I think I tried
to combine a DHCP-object and a DNS object (to be used with pdns), and it
failed. But I'm still testing this.

Bug reports (preferably with patches) will be welcome at
http://bzz.no/lwat/trac/trac.cgi/newticket

--
Finn-Arne Johansen
faj@bzz.no http://bzz.no/
EE2A71C6403A3D191FCDC043006F1215062E6642 062E6642

-------------------------------------------------------

----------  Forwarded Message  ----------

Subject: Re: Merge LWAT and DHCP machine objects in LDAP?
Date: Wednesday 06 August 2008 09:54
From: Petter Reinholdtsen <pere@hungry.com>
To: debian-edu@lists.debian.org

[Finn-Arne Johansen]

> I'm not sure if it's possible to add more than a couple of objects,
> due to limitations in the schemas, but I've not tried.

I tested to create a combined object using a script I wrote to
populate LDAP from sitesummary, and it failed with

  invalid structural object class chain (organizationalRole/dhcpHost)

I guess our schemas do not allow this. :(

I tried to create an object with these attributes:

    my $attr = [
                'cn'               => $hostname,
                'associatedDomain' => $dnsdomain,
                'ipHostNumber'     => $ipaddr,
                'macAddress'       => (@macaddr)[0],
                'dhcpHWAddress'    => (@hwaddr)[0],
                'dhcpStatements'   => "fixed-address $fqdn",
                'objectclass' => ['top',
                                  'organizationalRole',
                                  'domainRelatedObject',
                                  'ipHost',
                                  'dhcpHost',
                                  ],
                ];


Anyone got any idea how to solve this issue?

Happy hacking,
--
Petter Reinholdtsen

-------------------------------------------------------

[Message part 2 (application/pgp-signature, inline)]

Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Thu, 10 May 2012 18:21:12 GMT) Full text and rfc822 format available.

Notification sent to Holger Levsen <holger@layer-acht.org>:
Bug acknowledged by developer. (Thu, 10 May 2012 18:21:12 GMT) Full text and rfc822 format available.

Message #10 received at 499707-done@bugs.debian.org (full text, mbox):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 434796-done@bugs.debian.org,434797-done@bugs.debian.org,443546-done@bugs.debian.org,444274-done@bugs.debian.org,457840-done@bugs.debian.org,499707-done@bugs.debian.org,499708-done@bugs.debian.org,504003-done@bugs.debian.org,568407-done@bugs.debian.org,573043-done@bugs.debian.org,573825-done@bugs.debian.org,576177-done@bugs.debian.org,576178-done@bugs.debian.org,576179-done@bugs.debian.org,658893-done@bugs.debian.org,669810-done@bugs.debian.org,
Cc: lwat@packages.debian.org, lwat@packages.qa.debian.org
Subject: Bug#672227: Removed package(s) from unstable
Date: Thu, 10 May 2012 18:20:03 +0000
Version: 0.17-4.2+rm

Dear submitter,

as the package lwat has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/672227

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 08 Jun 2012 07:33:44 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 01:58:04 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.