Bug 8809 - Incomprehensible error from samba_dnsupdate when DNS line is invalid
Summary: Incomprehensible error from samba_dnsupdate when DNS line is invalid
Status: ASSIGNED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.0 alpha 17
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 18:28 UTC by Jelmer Vernooij
Modified: 2012-03-27 14:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelmer Vernooij 2012-03-12 18:28:51 UTC
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.
Comment 1 Matthias Dieter Wallnöfer 2012-03-27 14:53:43 UTC
Amitay, could you improve this, please?