Update diag.sh
This commit is contained in:
parent
f6ebec1fa5
commit
1edd65ab02
2
diag.sh
2
diag.sh
|
|
@ -5,7 +5,7 @@
|
||||||
# Configuration
|
# Configuration
|
||||||
LOG_FILE="/var/log/samba-ad-monitor.log"
|
LOG_FILE="/var/log/samba-ad-monitor.log"
|
||||||
REPORT_FILE="/tmp/samba_ad_report_$(date +%Y%m%d_%H%M%S).html"
|
REPORT_FILE="/tmp/samba_ad_report_$(date +%Y%m%d_%H%M%S).html"
|
||||||
ADMIN_EMAIL="j.fontaine@h3campus.fr"
|
ADMIN_EMAIL="serviceinfo@h3campus.fr"
|
||||||
DOMAIN_NAME=$(hostname -d)
|
DOMAIN_NAME=$(hostname -d)
|
||||||
REALM=$(samba-tool domain info $(hostname -f) | grep "Realm" | cut -d: -f2 | tr -d '[:space:]')
|
REALM=$(samba-tool domain info $(hostname -f) | grep "Realm" | cut -d: -f2 | tr -d '[:space:]')
|
||||||
ADMIN_USER="Administrator"
|
ADMIN_USER="Administrator"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue