renaming /deleting a system -> incorrect ldap changes
h2. What I did
- create a system named box061 with its mac address, DHCP client with a given address 10.1.0.61
- rename box061 to box063 and assign 10.1.0.63
h2. what happens
ldap directory is no more consistent
# box061, 10.1.0.0, dhcp, dns-dhcp, servers, systems, mgl7.fr dn: cn=box061,cn=10.1.0.0,cn=dhcp,cn=dns-dhcp,ou=servers,ou=systems,dc=mgl7,dc =fr dhcpOption: host-name box061 dhcpStatements: fixed-address 10.1.3.61 dhcpStatements: get-lease-hostnames true dhcpStatements: use-host-decl-names on cn: box061 objectClass: top objectClass: dhcpHost dhcpHWAddress: ethernet 00:e0:81:d6:91:35 # box061bis, netdevices, systems, mgl7.fr dn: cn=box061bis,ou=netdevices,ou=systems,dc=mgl7,dc=fr description: box macAddress: 00:e0:81:d6:91:35 objectClass: top objectClass: device objectClass: ipHost objectClass: ieee802Device cn: box061bis ipHostNumber: 10.1.3.63 # box061bis, mgl7.fr., dns-dhcp, servers, systems, mgl7.fr dn: relativeDomainName=box061bis,zoneName=mgl7.fr.,cn=dns-dhcp,ou=servers,ou=s ystems,dc=mgl7,dc=fr objectClass: top objectClass: dNSZone dNSClass: IN zoneName: mgl7.fr. relativeDomainName: box061bis # box061bis, box061bis, mgl7.fr., dns-dhcp, servers, systems, mgl7.fr dn: relativeDomainName=box061bis,relativeDomainName=box061bis,zoneName=mgl7.fr .,cn=dns-dhcp,ou=servers,ou=systems,dc=mgl7,dc=fr objectClass: top objectClass: dNSZone dNSClass: IN zoneName: mgl7.fr. relativeDomainName: box061bis aRecord: 10.1.3.63 # box061bis, 10.1.0.0, dhcp, dns-dhcp, servers, systems, mgl7.fr dn: cn=box061bis,cn=10.1.0.0,cn=dhcp,cn=dns-dhcp,ou=servers,ou=systems,dc=mgl7 ,dc=fr dhcpOption: host-name box061bis dhcpStatements: fixed-address 10.1.3.63 cn: box061bis objectClass: top objectClass: dhcpHost dhcpHWAddress: ethernet 00:e0:81:d6:91:35 # 63.3.1, box061bis, mgl7.fr., dns-dhcp, servers, systems, mgl7.fr dn: relativeDomainName=63.3.1,relativeDomainName=box061bis,zoneName=mgl7.fr.,c n=dns-dhcp,ou=servers,ou=systems,dc=mgl7,dc=fr objectClass: top objectClass: dNSZone dNSClass: IN zoneName: 10.in-addr.arpa. relativeDomainName: 63.3.1 pTRRecord: box061bis.mgl7.fr.
h2. remaining checks
Check this still happens with a recent build.
(from redmine: issue id 1569, created on 2012-11-22, closed on 2013-04-12)
- Custom Fields:
- Bug in version: 1.0.4