[Pkg-samba-maint] Bug#408981: samba: smbd 3.0.23a and later does
parse multiple backends in "passdb backend"
vorlon at debian.org
Sun Feb 4 12:44:40 CET 2007
On Tue, Jan 30, 2007 at 07:04:59AM +0100, Christian Perrier wrote:
> The samba packaging team decided to include code for fixing smb.conf
> *when that file contains the (wrong) value we were providing by
> default on sarge*, namely:
> passbd backend = tdbsam, guest
> We *only* fix the default provided smb.conf file, *not* user crafted
> smb.conf file, to respect the wise Debian package mantra: "thou shalt
> not change user-modified settings".
More precisely, we fix any settings that include the (already deprecated)
'guest' backend as a trailing option.
But in a case of using multiple backends other than guest, I don't think we
should presume to auto-upgrade.
> > I have
> > passdb backend = ldapsam:ldap://localhost, tdbsam
> You should remove the comma and everything will work as before. Please
> note, however that "tdbsam" here is now useless.
I doubt it will, it will probably still be broken because the passdb backend
value is still being parsed as a single value, not a list.
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.
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/
More information about the Pkg-samba-maint