OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
bug
/
samba-common
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/20/2021 08:56:08 AM
rwxr-xr-x
📄
presubj
506 bytes
11/19/2020 07:55:58 PM
rw-r--r--
📄
script
651 bytes
11/10/2021 02:29:48 PM
rwxr-xr-x
Editing: script
Close
#!/bin/bash -e cat <<EOF I can automatically include various information about your samba configuration in your bug report. This information may help to diagnose your problem. EOF for config in /etc/samba/smb.conf /etc/samba/dhcp.conf ; do if [ -f $config ]; then yesno "May I include your $config configuration file? [Y/n] " yep if [ "$REPLY" = "yep" ]; then echo "* $config present, and attached" >&3 echo "-- BEGIN ATTACHMENTS --" >&3 echo "$config" >&3 echo "-- END ATTACHMENTS --" >&3 else echo "* $config present, but not attached" >&3 fi else echo "* $config not present" >&3 fi done