summaryrefslogtreecommitdiff
path: root/packaging/debian/samba-server
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/debian/samba-server')
-rw-r--r--packaging/debian/samba-server27
1 files changed, 27 insertions, 0 deletions
diff --git a/packaging/debian/samba-server b/packaging/debian/samba-server
new file mode 100644
index 0000000000..f2db73992e
--- /dev/null
+++ b/packaging/debian/samba-server
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_title "Samba Server"
+
+db_input medium samba4-server/setup-pdc || true
+db_go || true
+
+db_get samba4-server/setup-pdc
+
+if [ "$RET" = "true" ]; then
+ db_input medium samba4-server/realm || true
+ db_go || true
+
+ db_input medium samba4-server/domain || true
+ db_go || true
+
+ db_input medium samba4-server/password || true
+ db_go || true
+
+ db_input medium samba4-server/done || true
+ db_go || true
+fi
+