Univention Bugzilla – Bug 40379
Proposal: univention-samba-debug script
Last modified: 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.