[Bug 1552249] Re: No builtin nor plugin backend for ipasam found

Alexander Bokovoy ab at samba.org
Fri Mar 4 17:51:06 UTC 2016


Let me comment as FreeIPA and Samba upstream developer.

Ubuntu's Samba build is done with Heimdal and you cannot build ipasam.so
against Heimdal, only MIT Kerberos. So you cannot use Ubuntu-provided
Samba build this way even if you'd recompile FreeIPA with patches we
have upstream to deal with libpdb -> libsamba-pdb library name change.

So until Samba in Debian and Ubuntu is built against Heimdal Kerberos
(this is due to Debian/Ubuntu packaging Samba AD, not just Samba) it is
unlikely to have FreeIPA trust to AD working in Ubuntu. We are fairly
close with completing port of Samba AD to MIT Kerberos upstream, this
should happen in Samba 4.5-4.6 timeframe. Once that is done, we can
expect FreeIPA with trust to AD working on Debian-based platforms as
well.

-- 
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/1552249

Title:
  No builtin nor plugin backend for ipasam found

Status in samba package in Ubuntu:
  New

Bug description:
  My samba server configured by freeipa-server-trust-ad spits out during
  start:

  smbd: [2016/03/02 13:54:52.349799,  0, pid=14393] ../source3/passdb/pdb_interface.c:170(make_pdb_method_name)
  smbd:   No builtin nor plugin backend for ipasam found

  running "sudo smbd -i -d 10" outputs:

  ...
  Attempting to find a passdb backend to match ipasam:ldapi://%2fvar%2frun%2fslapd-TEN-LOCAL.socket (ipasam)
  No builtin backend found, trying to load plugin
  Probing module 'ipasam'
  Probing module 'ipasam': Trying to load from /usr/lib/x86_64-linux-gnu/samba/pdb/ipasam.so
  Error loading module '/usr/lib/x86_64-linux-gnu/samba/pdb/ipasam.so': libpdb.so.0: cannot open shared object file: No such file or directory
  No builtin nor plugin backend for ipasam found
  ...

  ipasam.so is installed from freeipa-server-trust-ad and tries to open
  libpdb.so, but libpdb.so seems to got removes from samba-libs in
  16.04. I can still find old btrfs snapshots  before upgrading. Also
  "apt-file search libpdb.so" finds the package samba-libs on 15.10 but
  comes up empty on 16.04.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: samba-libs 2:4.3.3+dfsg-1ubuntu3
  ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
  Uname: Linux 4.4.0-8-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  BothFailedConnect: Yes
  Date: Wed Mar  2 14:28:26 2016
  InstallationDate: Installed on 2016-01-19 (43 days ago)
  InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
  NmbdLog:
   
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SambaServerRegression: Yes
  SmbConfIncluded: No
  SmbLog:
   
  SourcePackage: samba
  UpgradeStatus: Upgraded to xenial on 2016-02-05 (25 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1552249/+subscriptions



More information about the foundations-bugs mailing list