mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
r12207: More improvements to the Debian package by Steinar Gunderson.
(This used to be commit 72df2de396a3d8ada56362b807532ca6416d99e4)
This commit is contained in:
parent
a3b0f53f47
commit
12354cbe91
1
packaging/debian/TODO
Normal file
1
packaging/debian/TODO
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Ask if the user wishes to upgrade from Samba3
|
@ -3,38 +3,92 @@ Section: net
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Jelmer Vernooij <jelmer@samba.org>
|
Maintainer: Jelmer Vernooij <jelmer@samba.org>
|
||||||
Standards-Version: 3.6.2
|
Standards-Version: 3.6.2
|
||||||
Build-Depends: libgtk2.0-dev, libgconf2-dev, libldap-dev, debhelper (>> 4.0.0), libparse-yapp-perl, perl, docbook-xsl, xsltproc
|
Build-Depends: libgtk2.0-dev, libgconf2-dev, libldap-dev, debhelper (>> 4.0.0), libparse-yapp-perl, perl, docbook-xsl, xsltproc, po-debconf
|
||||||
|
|
||||||
Package: samba4-common
|
Package: samba4-common
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Description: Common samba files
|
Description: Samba 4 common files used by both the server and the client
|
||||||
Files common for all programs in Samba
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||||
|
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains the common files that are used by both the server
|
||||||
|
(provided in the samba4-server package) and the client (provided in the
|
||||||
|
samba4-client package).
|
||||||
|
|
||||||
Package: samba4-client
|
Package: samba4-client
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}
|
||||||
Description: Client utilities from Samba4
|
Description: client utilities from Samba 4
|
||||||
Client utilities for NetBIOS, SMB and RPC.
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||||
|
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains some client components of the Samba suite. In
|
||||||
|
particular it includes the command line utilities smbclient, net,
|
||||||
|
and some ACL tools.
|
||||||
|
|
||||||
Package: samba4-testsuite
|
Package: samba4-testsuite
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, samba4-common
|
Depends: ${shlibs:Depends}, samba4-common
|
||||||
Description: Testsuite from Samba4
|
Description: test suite from Samba 4
|
||||||
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
This package contains programs for testing the reliability and speed
|
This package contains programs for testing the reliability and speed
|
||||||
of SMB servers, Samba in particular.
|
of SMB servers, Samba in particular.
|
||||||
|
|
||||||
Package: samba4-server
|
Package: samba4-server
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Recommends: samba4-swat
|
Recommends: samba4-swat
|
||||||
Depends: ${shlibs:Depends}, samba4-common
|
Depends: ${shlibs:Depends}, samba4-common, debconf
|
||||||
Description: SMB Server
|
Description: LanManager-like file and printer server for Unix (version 4)
|
||||||
Contains smbd, the Samba server.
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains smbd, the Samba file, print and domain server.
|
||||||
|
|
||||||
Package: samba4-gtk-frontends
|
Package: samba4-gtk-frontends
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}
|
||||||
Description: Graphical Samba client utilities
|
Description: graphical Samba client utilities
|
||||||
Contains GTK+ programs for maintaining:
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains GTK+ programs for maintaining:
|
||||||
.
|
.
|
||||||
* Remote SAM databases
|
* Remote SAM databases
|
||||||
* Local and remote registries
|
* Local and remote registries
|
||||||
@ -43,29 +97,89 @@ Description: Graphical Samba client utilities
|
|||||||
Package: winregistry-tools
|
Package: winregistry-tools
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}
|
||||||
Description: Tools for viewing and manipulating
|
Description: tools for viewing and manipulating the Windows registry
|
||||||
FIXME
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains tools for viewing and manipulating the binary
|
||||||
|
"registry" found on Windows machines, both locally and remote.
|
||||||
|
|
||||||
Package: libparse-pidl-perl
|
Package: libparse-pidl-perl
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${perl:Depends}
|
Depends: ${perl:Depends}
|
||||||
Description: IDL compiler written in Perl
|
Description: IDL compiler written in Perl
|
||||||
FIXME
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains the IDL (Interface Description Language) compiler pidl,
|
||||||
|
which takes in IDL files and can output C code for various uses. It is
|
||||||
|
primarily of interest to developers.
|
||||||
|
|
||||||
Package: samba4-dev
|
Package: samba4-dev
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: libparse-pidl-perl, libc6-dev, pkg-config (>= 0.14.0)
|
Depends: libparse-pidl-perl, libc6-dev, pkg-config (>= 0.14.0)
|
||||||
Description: Tools for extending Samba
|
Description: tools for extending Samba
|
||||||
Contains Samba includes and tools
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains include files and libraries for interfacing to
|
||||||
|
and extending Samba. In particular, it contains development files for
|
||||||
|
the talloc and ldb libraries.
|
||||||
|
|
||||||
Package: ldb-tools
|
Package: ldb-tools
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}
|
||||||
Description: Tools for maintaining LDB database files
|
Description: tools for maintaining LDB database files
|
||||||
FIXME
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains tools for maintaining, creating and editing
|
||||||
|
LDB database files, which are central to Samba 4's operation. They
|
||||||
|
are primarily useful for debugging and developing Samba or other
|
||||||
|
applications using LDB.
|
||||||
|
|
||||||
Package: samba4-swat
|
Package: samba4-swat
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Description: Swat data files
|
Description: data files for SWAT
|
||||||
Data files for SWAT.
|
The Samba software suite is a collection of programs that
|
||||||
|
implements the SMB protocol for unix systems, allowing you to serve
|
||||||
|
files and printers to Windows, NT, OS/2 and DOS clients, as well as
|
||||||
|
run as a domain controller for Active Directory.
|
||||||
|
.
|
||||||
|
These packages contain snapshot versions of Samba 4, the next-generation
|
||||||
|
version of Samba. These should be considered _experimental_, and should
|
||||||
|
not be used in production. In particular, no guarantees are made with
|
||||||
|
regard to upgrades between versions.
|
||||||
|
.
|
||||||
|
This package contains the data files for SWAT, the Samba Web Administration
|
||||||
|
Tool. These are used by the embedded Samba 4 web server to provide web-based
|
||||||
|
administration of shares and other settings.
|
||||||
|
|
||||||
|
1
packaging/debian/po/POTFILES.in
Normal file
1
packaging/debian/po/POTFILES.in
Normal file
@ -0,0 +1 @@
|
|||||||
|
[type: gettext/rfc822deb] samba4-server.templates
|
85
packaging/debian/po/templates.pot
Normal file
85
packaging/debian/po/templates.pot
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the PACKAGE package.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: jelmer@samba.org\n"
|
||||||
|
"POT-Creation-Date: 2005-12-13 16:10+0100\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#. Type: boolean
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:4
|
||||||
|
msgid "Set up Samba 4 as a PDC?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: boolean
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:4
|
||||||
|
msgid ""
|
||||||
|
"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."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: boolean
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:4
|
||||||
|
msgid ""
|
||||||
|
"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."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: string
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:15
|
||||||
|
msgid "Realm"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: string
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:15
|
||||||
|
msgid ""
|
||||||
|
"What Kerberos realm will your server be in? In many cases, this will be the "
|
||||||
|
"same as your DNS domain name (ie. YOUR.REALM)."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: string
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:21
|
||||||
|
msgid "Domain"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: string
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:21
|
||||||
|
msgid ""
|
||||||
|
"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)."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: password
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:28
|
||||||
|
msgid "Administrator password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Type: password
|
||||||
|
#. Description
|
||||||
|
#: ../samba4-server.templates:28
|
||||||
|
msgid ""
|
||||||
|
"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."
|
||||||
|
msgstr ""
|
@ -69,7 +69,6 @@ install: build
|
|||||||
mkdir -p $(CURDIR)/debian/tmp/etc/samba4
|
mkdir -p $(CURDIR)/debian/tmp/etc/samba4
|
||||||
$(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp
|
$(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp
|
||||||
$(MAKE) -C $(SOURCEPATH) manpages installman DESTDIR=$(CURDIR)/debian/tmp
|
$(MAKE) -C $(SOURCEPATH) manpages installman DESTDIR=$(CURDIR)/debian/tmp
|
||||||
cp $(CURDIR)/debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4
|
|
||||||
cp $(SOURCEPATH)/setup/provision $(CURDIR)/debian/tmp/usr/lib/samba/setup
|
cp $(SOURCEPATH)/setup/provision $(CURDIR)/debian/tmp/usr/lib/samba/setup
|
||||||
$(MAKE) -C $(SOURCEPATH)/pidl install DESTDIR=$(CURDIR)/debian/tmp
|
$(MAKE) -C $(SOURCEPATH)/pidl install DESTDIR=$(CURDIR)/debian/tmp
|
||||||
|
|
||||||
@ -84,6 +83,8 @@ binary-arch: build install
|
|||||||
dh_compress -a
|
dh_compress -a
|
||||||
dh_fixperms -a
|
dh_fixperms -a
|
||||||
dh_makeshlibs -a
|
dh_makeshlibs -a
|
||||||
|
dh_installinit -a --name=samba4
|
||||||
|
dh_installdebconf -a
|
||||||
dh_installdeb -a
|
dh_installdeb -a
|
||||||
dh_shlibdeps -a
|
dh_shlibdeps -a
|
||||||
dh_gencontrol -a
|
dh_gencontrol -a
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
etc/samba4/smb.conf
|
|
||||||
usr/lib/samba/*.dat
|
usr/lib/samba/*.dat
|
||||||
usr/lib/samba/setup
|
usr/lib/samba/setup
|
||||||
usr/lib/samba/js
|
usr/lib/samba/js
|
||||||
|
27
packaging/debian/samba4-server.config
Normal file
27
packaging/debian/samba4-server.config
Normal file
@ -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
|
||||||
|
|
28
packaging/debian/samba4-server.postinst
Normal file
28
packaging/debian/samba4-server.postinst
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
|
db_get samba4-server/setup-pdc || true
|
||||||
|
|
||||||
|
if [ "$RET" = "true" ]; then
|
||||||
|
db_get samba4-server/realm
|
||||||
|
REALM="$RET"
|
||||||
|
|
||||||
|
db_get samba4-server/domain
|
||||||
|
DOMAIN="$RET"
|
||||||
|
|
||||||
|
db_get samba4-server/password
|
||||||
|
PASSWORD="$RET"
|
||||||
|
|
||||||
|
db_stop
|
||||||
|
|
||||||
|
/usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" --adminpass="$PASSWORD"
|
||||||
|
else
|
||||||
|
db_stop
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
63
packaging/debian/samba4-server.samba4.init
Normal file
63
packaging/debian/samba4-server.samba4.init
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Start/stops the Samba daemon (smbd).
|
||||||
|
# Adapted from the Samba 3 packages.
|
||||||
|
#
|
||||||
|
|
||||||
|
SMBDPID=/var/run/samba4/smbd.pid
|
||||||
|
|
||||||
|
# clear conflicting settings from the environment
|
||||||
|
unset TMPDIR
|
||||||
|
|
||||||
|
# See if the daemon and the config file are there
|
||||||
|
test -x /usr/sbin/smbd -a -r /etc/samba4/smb.conf || exit 0
|
||||||
|
|
||||||
|
. /lib/lsb/init-functions
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
log_daemon_msg "Starting Samba 4 daemon" "smbd"
|
||||||
|
|
||||||
|
if ! start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D; then
|
||||||
|
log_end_msg 1
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
log_end_msg 0
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
log_daemon_msg "Stopping Samba 4 daemon" "smbd"
|
||||||
|
|
||||||
|
start-stop-daemon --stop --quiet --pidfile $SMBDPID
|
||||||
|
# Wait a little and remove stale PID file
|
||||||
|
sleep 1
|
||||||
|
if [ -f $SMBDPID ] && ! ps h `cat $SMBDPID` > /dev/null
|
||||||
|
then
|
||||||
|
# Stale PID file (smbd was succesfully stopped),
|
||||||
|
# remove it (should be removed by smbd itself IMHO.)
|
||||||
|
rm -f $SMBDPID
|
||||||
|
fi
|
||||||
|
|
||||||
|
log_end_msg 0
|
||||||
|
|
||||||
|
;;
|
||||||
|
reload)
|
||||||
|
log_daemon_msg "Reloading /etc/samba/smb.conf" "smbd only"
|
||||||
|
|
||||||
|
start-stop-daemon --stop --signal HUP --pidfile $SMBDPID
|
||||||
|
|
||||||
|
log_end_msg 0
|
||||||
|
;;
|
||||||
|
restart|force-reload)
|
||||||
|
$0 stop
|
||||||
|
sleep 1
|
||||||
|
$0 start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: /etc/init.d/samba4 {start|stop|reload|restart|force-reload}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
32
packaging/debian/samba4-server.templates
Normal file
32
packaging/debian/samba4-server.templates
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Template: samba4-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: samba4-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: samba4-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: samba4-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.
|
@ -1,2 +1 @@
|
|||||||
usr/share/samba/swat
|
usr/share/samba/swat
|
||||||
usr/lib/samba/js
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
# Example configuration file
|
|
||||||
[global]
|
|
Loading…
x
Reference in New Issue
Block a user