You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From: Emmanuel Dollé <emmanuel.dolle@agrocampus-ouest.fr>
To: netmagis@freelists.org
Subject: [netmagis] Problem to change DHCP profile with dnsmodattr.
Date: Mon, 04 Aug 2014 16:35:43 +0200
Hi,
When I try to change the DHCP profile of one host with dnsmodattr
program, I have the error below with Netmagis 2.2.2 on Debian 7.5 :
# dnsmodattr machine2test.mydomain.fr default DHCPPROFILE "test"
can't read "tattr(dhcpprofil)": no such element in array
while executing
"set newiddhcpprof $tattr(dhcpprofil)"
(procedure "update-rr" line 69)
invoked from within
"update-rr $dbfd trr $idview tabattr"
(procedure "main" line 84)
invoked from within
"main $argv0 $argv"
invoked from within
"exit [main $argv0 $argv]"
(file "/usr/bin/dnsmodattr" line 313)
For information, I use dnsmodattr for change other attributes without
problem and changing DHCP profile with the web interface works.
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered:
From: julien soula <julien.soula@univ-lille2.fr>
To: netmagis@freelists.org
Subject: [netmagis] Re: Problem to change DHCP profile with dnsmodattr.
Date: Mon, 4 Aug 2014 17:12:37 +0200
[...]
just replace "dhcpprofil" with "dhcpprofile" in line 134
Bug also reported by danlii (see issue #125)
utils/dnsmodattr attempts to use an invalid index name (bug detected by Emmanuel Dollé emmanuel.dolle@agrocampus-ouest.fr):
The text was updated successfully, but these errors were encountered: