Public bug reported:

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)

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/789097

Title:
  tdb2.so undefined symbol: dyn_get_STATEDIR (source code typo)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to