[Bug 789097] Re: [Samba] idmap backend = tdb2 is broken in Ubuntu / Debian
Christian Perrier
bubulle at debian.org
Tue Jun 7 04:43:58 UTC 2011
Quoting Christian PERRIER (bubulle at debian.org):
> The fix has been committed in the Debian package SVN. It will reach
> Debian unstable, then Ubuntu, when we upload a new release.
A new package fixing this was uploaded in Debian unstable on Sunday
June 5th. Package version is 2:3.5.8~dfsg-5.
For Ubuntu, a resync with Debian unstable should fix the problem in
the currently developed version "whatever funky name it might have" (I
can't cope with Ubuntu release names!). A fix is probably needed for
Ubuntu 11.04. I think that the diff between Debian 2:3.5.8~dfsg-4 and
-5 should be OK. I'm not sure whether the problem is also in the
current Ubuntu LTS.
I'm awaiting for the Debian release managers approval for a fix to be
uploaded for Debian stable.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/789097
Title:
tdb2.so undefined symbol: dyn_get_STATEDIR (source code typo)
Status in “samba” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: samba
This error occurs if "idmap backend = tdb2" is specified in smb.conf
The source of the error is this patchfile
fhs-filespath.patch
The offending patch is at the bottom of the file, as follows
===================================================================
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -107,7 +107,7 @@
if (db_path == NULL) {
/* fall back to the private directory, which, despite
its name, is usually on shared storage */
- db_path = talloc_asprintf(NULL, "%s/idmap2.tdb", lp_private_dir());
+ db_path = talloc_asprintf(NULL, "%s/idmap2.tdb", dyn_get_STATEDIR());
}
NT_STATUS_HAVE_NO_MEMORY(db_path);
The correct function name is get_dyn_STATEDIR, not dyn_get_STATEDIR.
I've tested it can be fixed by changing this accordingly.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: samba 2:3.5.8~dfsg-1ubuntu2.2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
BothFailedConnect: Yes
Date: Fri May 27 12:28:59 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SambaServerRegression: No
SmbConfIncluded: No
SourcePackage: samba
UpgradeStatus: Upgraded to natty on 2011-05-09 (17 days ago)
More information about the foundations-bugs
mailing list