summaryrefslogtreecommitdiff
path: root/debian/samba.templates
diff options
context:
space:
mode:
Diffstat (limited to 'debian/samba.templates')
-rw-r--r--debian/samba.templates35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/samba.templates b/debian/samba.templates
new file mode 100644
index 0000000000..12b38c9186
--- /dev/null
+++ b/debian/samba.templates
@@ -0,0 +1,35 @@
+Template: samba/generate_smbpasswd
+Type: boolean
+Default: false
+_Description: Create samba password database, /var/lib/samba/passdb.tdb?
+ To be compatible with the defaults in most versions of Windows, Samba must
+ be configured to use encrypted passwords. This requires user passwords to
+ be stored in a file separate from /etc/passwd. This file can be created
+ automatically, but the passwords must be added manually by running
+ smbpasswd and be kept up-to-date in the future.
+ .
+ If you do not create it, you will have to reconfigure Samba (and probably
+ your client machines) to use plaintext passwords.
+ .
+ See /usr/share/doc/samba-doc/htmldocs/ENCRYPTION.html from the
+ samba-doc package for more details.
+
+Template: samba/run_mode
+Type: select
+__Choices: daemons, inetd
+Default: daemons
+_Description: How do you want to run Samba?
+ The Samba daemon smbd can run as a normal daemon or from inetd. Running as
+ a daemon is the recommended approach.
+
+Template: samba/tdbsam
+Type: boolean
+Default: false
+_Description: Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?
+ Samba 3.0 introduced a more complete SAM database interface which
+ supersedes the /etc/samba/smbpasswd file.
+ .
+ Please confirm whether you would like the existing smbpasswd file to
+ be automatically migrated to /var/lib/samba/passdb.tdb. Do not
+ choose this option if you plan to use another pdb backend (e.g.,
+ LDAP) instead.