summaryrefslogtreecommitdiff
path: root/packaging/debian/samba-server
blob: f2db73992e2102ec0ca0b98f3f2a21f6e510f847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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