An Ubuntu user was hitting this: Traceback (most recent call last): File "/usr/sbin/samba_dnsupdate", line 398, in <module> d = parse_dns_line(line, sub_vars) File "/usr/sbin/samba_dnsupdate", line 155, in parse_dns_line d = dnsobj(subline) File "/usr/sbin/samba_dnsupdate", line 137, in __init__ self.ip = list[2] # usually $IP, which gets replaced IndexError: list index out of range Unfortunately it doesn't really give more context.
Amitay, could you improve this, please?
We can say this was fixed with 441c214dda2ca93980461c03115b094a1e606d4a (2012) Now the error message will say "Invalid DNS entry '...'", which is better.