[Pkg-samba-maint] [Git][samba-team/samba][master] Check smb.conf in samba-common-bin.postinst (Closes: #816301)
Mathieu Parent
gitlab at salsa.debian.org
Tue Apr 10 20:10:07 UTC 2018
Mathieu Parent pushed to branch master at Debian Samba Team / samba
Commits:
648ea6aa by Mathieu Parent at 2018-04-10T22:07:56+02:00
Check smb.conf in samba-common-bin.postinst (Closes: #816301)
NB: This won't find all errors (for example an unknown entry in 'dcerpc endpoint servers')
- - - - -
1 changed file:
- + debian/samba-common-bin.postinst
Changes:
=====================================
debian/samba-common-bin.postinst
=====================================
--- /dev/null
+++ b/debian/samba-common-bin.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+echo "Checking smb.conf"
+samba-tool testparm -d1 --suppress-prompt > /dev/null
+echo "Done"
+
+#DEBHELPER#
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/648ea6aa3c191c20d67cb765abfee6e8993e394b
---
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/648ea6aa3c191c20d67cb765abfee6e8993e394b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20180410/d69c2b8d/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list