SHARED MODULES BROKEN pdb: Increase version number to fix ABI

Garming Sam garming at catalyst.net.nz
Wed Dec 3 15:08:06 MST 2014


Hi Andreas,

Does the attached patch fix the issues you have?

So far, I've mostly just tested what was mentioned below but I thought I 
should get back to you.


Cheers,

Garming Sam

On 04/12/14 04:54, Andreas Schneider wrote:
> Hello,
>
> I'm  really sorry but the commit 3b76b705f03b8f639ece2308afdc0962d230c42a
> breaks shared modules in Samba!
>
> ./configure --with-shared-modules="pdb_tdbsam"
> make -j
> make -j test TESTS="samba.tests.samba3"
>
> Attempting to find a passdb backend to match tdbsam (tdbsam)
> No builtin backend found, trying to load plugin
> Probing module 'tdbsam'
> Probing module 'tdbsam': Trying to load from
> /home/asn/workspace/projects/samba/git/bin/modules/pdb/tdbsam.so
> Module 'tdbsam' loaded
> Attempting to register passdb backend tdbsam
> There already is a passdb backend registered with the name tdbsam!
> Module 'tdbsam' initialization failed: The object name already exists.
> No builtin nor plugin backend for tdbsam found
>
>
>
> I normally build these as shared modules:
>
> vfs_cacheprime,vfs_readahead,idmap_ad,idmap_ldap,idmap_rid,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_netlogond,auth_samba4
>
>
> Another test later fails with pdb_smbpasswd ...
>
>
> 	-- andreas
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pdb-fix-build-issues-with-shared-modules.patch
Type: text/x-patch
Size: 866 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141204/b6248e49/attachment.bin>


More information about the samba-technical mailing list