No builtin nor plugin backend for ipasam found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My samba server configured by freeipa-
smbd: [2016/03/02 13:54:52.349799, 0, pid=14393] ../source3/
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:
No builtin backend found, trying to load plugin
Probing module 'ipasam'
Probing module 'ipasam': Trying to load from /usr/lib/
Error loading module '/usr/lib/
No builtin nor plugin backend for ipasam found
...
ipasam.so is installed from freeipa-
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: samba-libs 2:4.3.3+
ProcVersionSign
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SambaServerRegr
SmbConfIncluded: No
SmbLog:
SourcePackage: samba
UpgradeStatus: Upgraded to xenial on 2016-02-05 (25 days ago)
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.