diff options
| author | Mathieu Parent <math.parent@gmail.com> | 2016-10-31 20:06:09 (GMT) |
|---|---|---|
| committer | Mathieu Parent <math.parent@gmail.com> | 2016-10-31 20:06:09 (GMT) |
| commit | 61eaeba2a7a2df61b681b4ea545811569de421d0 (patch) | |
| tree | 3653a88b27b61f49d1ad3c27e03c9c79c05e648a | |
| parent | cdca3db7720eedf8ec056e263f3c993e884528aa (diff) | |
Be more verbose about masking samba-ad-dc.service (Closes: #841147)
Patch by Roland Hieber
| -rw-r--r-- | debian/samba.postinst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/samba.postinst b/debian/samba.postinst index 35b476f..787d802 100644 --- a/debian/samba.postinst +++ b/debian/samba.postinst @@ -87,6 +87,8 @@ if [ "$SERVER_ROLE" != "active directory domain controller" ] \ ; then if [ ! -e /etc/systemd/system/samba-ad-dc.service ]; then mkdir -p /etc/systemd/system + echo "Samba is not being run as an AD Domain Controller, masking samba-ad-dc-service." + echo "Please ignore the following error about deb-systemd-helper not finding samba-ad-dc-service." ln -s /dev/null /etc/systemd/system/samba-ad-dc.service # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. |
