Public bug reported:

It would be helpful to offer to include samba's testparm(1) analysis of
the smb.conf config file in samba bug reports.

If the user agrees to attach smb.conf, then it's not really needed (bug
triagers can run it themselves), but in the case of a refusal, having
testparm run a quick sanity check on that file and include its report in
the bug would save time.

I have a test branch that implements the following workflow:
- if the user refuses to attach smb.conf, ask a followup question about testparm
- this followup question asks if the user would allow us to run "testparm -s 
/etc/samba/smb.conf > /dev/null". This will capture testparm's analysis of the 
config file, show share names, show syntax errors, and give a good or bad 
result.
- the user can refuse to run testparm
- if the user agreed to attach smb.conf in the previous question, then we don't 
run testparm.

** Affects: samba (Ubuntu)
     Importance: Wishlist
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1694334

Title:
  Offer to include testparm's analysis in but reports

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1694334/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to