From 300ed48aeaf33798f09e8e6285cc595972daf6f5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 23 Dec 2005 10:24:24 +0000 Subject: r12443: Forgot to rename two files (This used to be commit abec9301635aea334f32a86a5414f2fd6174ea76) --- packaging/debian/changelog | 2 +- packaging/debian/samba-server.postinst | 28 ++++++++++++++++++++++++++++ packaging/debian/samba-server.templates | 32 ++++++++++++++++++++++++++++++++ packaging/debian/samba4-server.postinst | 28 ---------------------------- packaging/debian/samba4-server.templates | 32 -------------------------------- 5 files changed, 61 insertions(+), 61 deletions(-) create mode 100644 packaging/debian/samba-server.postinst create mode 100644 packaging/debian/samba-server.templates delete mode 100644 packaging/debian/samba4-server.postinst delete mode 100644 packaging/debian/samba4-server.templates (limited to 'packaging') diff --git a/packaging/debian/changelog b/packaging/debian/changelog index 087d074519..53a9b9d57e 100644 --- a/packaging/debian/changelog +++ b/packaging/debian/changelog @@ -2,7 +2,7 @@ samba (3.9.0+SVN12395-1) unstable; urgency=low * New snapshot, drop 4 suffix - -- Jelmer Vernooij Tue, 20 Dec 2005 13:38:26 +0100 + -- Jelmer Vernooij Tue, 20 Dec 2005 13:38:26 +0100 samba4 (3.9.0+SVN12312-1) unstable; urgency=low diff --git a/packaging/debian/samba-server.postinst b/packaging/debian/samba-server.postinst new file mode 100644 index 0000000000..b29d2518cc --- /dev/null +++ b/packaging/debian/samba-server.postinst @@ -0,0 +1,28 @@ +#! /bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_get samba-server/setup-pdc || true + +if [ "$RET" = "true" ]; then + db_get samba-server/realm + REALM="$RET" + + db_get samba-server/domain + DOMAIN="$RET" + + db_get samba-server/password + PASSWORD="$RET" + + db_stop + + /usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" --adminpass="$PASSWORD" +else + db_stop +fi + +#DEBHELPER# + +exit 0 diff --git a/packaging/debian/samba-server.templates b/packaging/debian/samba-server.templates new file mode 100644 index 0000000000..2c0e59a746 --- /dev/null +++ b/packaging/debian/samba-server.templates @@ -0,0 +1,32 @@ +Template: samba-server/setup-pdc +Type: boolean +Default: false +_Description: Set up Samba 4 as a PDC? + Do you want to set up Samba 4 as an Active Directory PDC? If you answer + "no", Samba will be left unconfigured, and you will have to provision and + make configuration files by hand. + . + Note that even if you answer "yes", you will need to set up DNS such that + it serves the data from the zone file in that directory before you can use + your Active Directory domain. + +Template: samba-server/realm +Type: string +_Description: Realm + What Kerberos realm will your server be in? In many cases, this will be + the same as your DNS domain name (ie. YOUR.REALM). + +Template: samba-server/domain +Type: string +_Description: Domain + What will be the domain of your server? This is also known as the + "workgroup" of your server, and is typically a short name without any dots + (ie. DOMAIN). + +Template: samba-server/password +Type: password +_Description: Administrator password + You will need a password for the "Administrator" account. Note that in the + current version of the packaging, this will be visible in "ps" for a short + time for everybody on the system, so you might not want to use a very + sensitive password here. diff --git a/packaging/debian/samba4-server.postinst b/packaging/debian/samba4-server.postinst deleted file mode 100644 index b29d2518cc..0000000000 --- a/packaging/debian/samba4-server.postinst +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh - -set -e - -. /usr/share/debconf/confmodule - -db_get samba-server/setup-pdc || true - -if [ "$RET" = "true" ]; then - db_get samba-server/realm - REALM="$RET" - - db_get samba-server/domain - DOMAIN="$RET" - - db_get samba-server/password - PASSWORD="$RET" - - db_stop - - /usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" --adminpass="$PASSWORD" -else - db_stop -fi - -#DEBHELPER# - -exit 0 diff --git a/packaging/debian/samba4-server.templates b/packaging/debian/samba4-server.templates deleted file mode 100644 index 2c0e59a746..0000000000 --- a/packaging/debian/samba4-server.templates +++ /dev/null @@ -1,32 +0,0 @@ -Template: samba-server/setup-pdc -Type: boolean -Default: false -_Description: Set up Samba 4 as a PDC? - Do you want to set up Samba 4 as an Active Directory PDC? If you answer - "no", Samba will be left unconfigured, and you will have to provision and - make configuration files by hand. - . - Note that even if you answer "yes", you will need to set up DNS such that - it serves the data from the zone file in that directory before you can use - your Active Directory domain. - -Template: samba-server/realm -Type: string -_Description: Realm - What Kerberos realm will your server be in? In many cases, this will be - the same as your DNS domain name (ie. YOUR.REALM). - -Template: samba-server/domain -Type: string -_Description: Domain - What will be the domain of your server? This is also known as the - "workgroup" of your server, and is typically a short name without any dots - (ie. DOMAIN). - -Template: samba-server/password -Type: password -_Description: Administrator password - You will need a password for the "Administrator" account. Note that in the - current version of the packaging, this will be visible in "ps" for a short - time for everybody on the system, so you might not want to use a very - sensitive password here. -- cgit