[Pkg-samba-maint] Bug#408981: samba: smbd 3.0.23a and later does parse multiple backends in "passdb backend"

Steve Langasek vorlon at debian.org
Mon Mar 12 11:38:09 UTC 2007


On Mon, Mar 12, 2007 at 02:57:43AM -0700, Steve Langasek wrote:
> On Sun, Feb 04, 2007 at 02:06:02PM +0100, Christian Perrier wrote:

> > > Anyway, I think the suggestion of a NEWS item or a debconf error message (in
> > > the case of a comma-separated list that we can't auto-migrate) is a good
> > > one.  I know you won't be happy about adding a debconf template at this late
> > > stage, Christian, but even untranslated it would probably be better than
> > > giving users no warning on upgrade.

> > We can give it a try. Would you mind proposing a wording and I can try
> > handling the interaction with translators?

> Ok, let's give this a try, and see if the release team will put up with
> us...

> Attached is an updated .pot for consideration.  I'm in the process of
> testing before committing this change, but here is the proposed template:

> Template: samba-common/unsupported-passdb
> Type: error
> _Description: Chaining passdb backends is not supported
>  Beginning with version 3.0.23, samba no longer supports chaining
>  multiple backends in the "passdb backend" parameter.  It appears that
>  your smb.conf file contains a passdb backend parameter consisting of a
>  list of backends.  The new version of samba will not work until you
>  correct this.

Ok, after testing, I'm changing the type from 'error' back to 'note';
'error' is only supported in debconf 1.4.69 or newer (which is newer than
the version in etch), so we would need a versioned dependency here, and I
don't know what version of cdebconf adds support for error templates, so
it's just easier to go with a note -- the user will still see it as long as
they aren't running at 'critical' priority.

Updated templates.pot attached.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
# 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 at ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pkg-samba-maint at lists.alioth.debian.org\n"
"POT-Creation-Date: 2007-03-12 03:35-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. Type: boolean
#. Description
#: ../samba-common.templates:1001
msgid "Modify smb.conf to use WINS settings from DHCP?"
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:1001
msgid ""
"If your computer gets IP address information from a DHCP server on the "
"network, the DHCP server may also provide information about WINS servers "
"(\"NetBIOS name servers\") present on the network.  This requires a change "
"to your smb.conf file so that DHCP-provided WINS settings will automatically "
"be read from /etc/samba/dhcp.conf."
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:1001
msgid ""
"The dhcp3-client package must be installed to take advantage of this feature."
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:2001
msgid "Configure smb.conf automatically?"
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:2001
msgid ""
"The rest of the configuration of Samba deals with questions that affect "
"parameters in /etc/samba/smb.conf, which is the file used to configure the "
"Samba programs (nmbd and smbd). Your current smb.conf contains an 'include' "
"line or an option that spans multiple lines, which could confuse the "
"automated configuration process and require you to edit your smb.conf by "
"hand to get it working again."
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:2001
msgid ""
"If you do not choose this option, you will have to handle any configuration "
"changes yourself, and will not be able to take advantage of periodic "
"configuration enhancements."
msgstr ""

#. Type: string
#. Description
#: ../samba-common.templates:3001
msgid "Workgroup/Domain Name:"
msgstr ""

#. Type: string
#. Description
#: ../samba-common.templates:3001
msgid ""
"Please specify the workgroup you want this server to appear to be in when "
"queried by clients. Note that this parameter also controls the domain name "
"used with the security=domain setting."
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:4001
msgid "Use password encryption?"
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:4001
msgid ""
"All recent Windows clients communicate with SMB servers using encrypted "
"passwords. If you want to use clear text passwords you will need to change a "
"parameter in your Windows registry."
msgstr ""

#. Type: boolean
#. Description
#: ../samba-common.templates:4001
msgid ""
"Enabling this option is highly recommended. If you do, make sure you have a "
"valid /etc/samba/smbpasswd file and that you set passwords in there for each "
"user using the smbpasswd command."
msgstr ""

#. Type: note
#. Description
#: ../samba-common.templates:5001
msgid "Chaining passdb backends is not supported"
msgstr ""

#. Type: note
#. Description
#: ../samba-common.templates:5001
msgid ""
"Beginning with version 3.0.23, samba no longer supports chaining multiple "
"backends in the \"passdb backend\" parameter.  It appears that your smb.conf "
"file contains a passdb backend parameter consisting of a list of backends.  "
"The new version of samba will not work until you correct this."
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:1001
msgid "Create samba password database, /var/lib/samba/passdb.tdb?"
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:1001
msgid ""
"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."
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:1001
msgid ""
"If you do not create it, you will have to reconfigure Samba (and probably "
"your client machines) to use plaintext passwords."
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:1001
msgid ""
"See /usr/share/doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc "
"package for more details."
msgstr ""

#. Type: select
#. Choices
#: ../samba.templates:2001
msgid "daemons"
msgstr ""

#. Type: select
#. Choices
#: ../samba.templates:2001
msgid "inetd"
msgstr ""

#. Type: select
#. Description
#: ../samba.templates:2002
msgid "How do you want to run Samba?"
msgstr ""

#. Type: select
#. Description
#: ../samba.templates:2002
msgid ""
"The Samba daemon smbd can run as a normal daemon or from inetd. Running as a "
"daemon is the recommended approach."
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:3001
msgid "Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?"
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:3001
msgid ""
"Samba 3.0 introduced a more complete SAM database interface which supersedes "
"the /etc/samba/smbpasswd file."
msgstr ""

#. Type: boolean
#. Description
#: ../samba.templates:3001
msgid ""
"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."
msgstr ""


More information about the Pkg-samba-maint mailing list