Bug 40379 - Proposal: univention-samba-debug script
Proposal: univention-samba-debug script
Status: NEW
Product: USI
Classification: Unclassified
Component: univention-support-info
unspecified
Other Linux
: P5 normal
: ---
Assigned To: USI maintainer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-06 21:16 CET by Arvid Requate
Modified: 2016-01-06 21:16 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:


Attachments
samba_debug.sh (1.86 KB, text/x-sh)
2016-01-06 21:16 CET, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2016-01-06 21:16:36 CET
Created attachment 7395 [details]
samba_debug.sh

It might help to have a script for support cases to assist customers in collecting detailed information about any given Samba problem:

* Set samba/debug/level=12 and restart samba
* Install and start tcpdump
* Dump the domain keytab
* Interactively prompt the user to trigger the problem once again
* When finished stop the tcpdump, and reset the debug level

It would be great if the script could also tar and encrypt the debug information according to http://sdb.univention.de/1344. Maybe we simply inject a copy of the public key into that script.

This would help in tracking down localized single server issues. In more complex scenarios, the customer could easily be asked to run the script on two servers (e.g. DC and memberserver) in parallel, so it could cover multi-server issues two.


It would also help to avoid cases where customers

a) provide incomplete information
b) send their domain keytab in clear text via email


I'll attach a quick shell script example of this.