rust-api-template/ActiveDirecotry/samba-ad-run.sh

10 lines
216 B
Bash
Raw Normal View History

2025-01-05 12:57:23 +00:00
#!/bin/bash
set -e
[ -f /var/lib/samba/.setup ] || {
>&2 echo "[ERROR] Samba is not setup yet, which should happen automatically. Look for errors!"
exit 127
}
samba -i -s /var/lib/samba/private/smb.conf