[Samba] what flag shows ldapsam is built in?

grant little grantliddle at gmail.com
Tue Sep 7 23:26:11 MDT 2010

On Mon, Sep 6, 2010 at 1:29 PM, grant little <grantliddle at gmail.com> wrote:

> what  flag from smbd -b confirms ldapsam is built in?
> I see:
> # smbd -b | grep -i ldap
>    idmap_ldap_init
>     pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
> I was expecting to see something with ldapsam in there say for instance
> pdb_ldapsam or HAVE_LDAPSAM but I'm not sure what the flag is called and
> haven't found a list of all the flags when searching samba.org
> thanks.

In case anyone else is looking I finally found the build flags here:

however I am none the wiser as they don't correspond 1 to 1 to the output of
smbd -b and man on smbd just says that -b provides information about how
samba was built.

it's possible that that pdb_ldap means ldapsam support but I can't find that
documented  even when searching the latest source.   If that is so then why
is there a pdb_tdbsam and a pdb_wbc_sam when to be consistent that should be
just pdb_tdb or the other should be pdb_ldapsam.
In the source I see mention of both pdb_ldap and ldapsam.
I suspect the only way I will find out is by actually doing builds with the
flags on and off and seeing what happens.

More information about the samba mailing list