pdb_ldap is built out of few source files, with two of them also used in idmap_ldap. idmap_ldap expects them to be part of libpdb, by coincidence, because pdb_ldap is by default statically linked into libpdb. If pdb_ldap is built as dynamic module, idmap_ldap module building is broken. Attached patch fixes it. Please consider it to 4.0 stable.
Created attachment 7889 [details] patch to move some pdb_ldap utility functions to smbldaphelper subsystem
Comment on attachment 7889 [details] patch to move some pdb_ldap utility functions to smbldaphelper subsystem Added Andreas as reviewer.
Added flag in wrong place.
Comment on attachment 7889 [details] patch to move some pdb_ldap utility functions to smbldaphelper subsystem lgtm and tested.
Karolin, please include this patch into 4.0. It is currently on its way through autobuild to master
Pushed to v4-0-test. Closing out bug report. Thanks!