configuring sendmail to use ldapv3

configuring sendmail to use ldapv3

am 19.02.2005 23:39:59 von Adam

I am trying to setup sendmail with an openldap backend, but sendmail is
trying to bind with version 2, and openldap says "historical protocol
version requested, use LDAPv3 instead". How do I tell sendmail to use
version 3?

Thanks
Adam

Re: configuring sendmail to use ldapv3

am 20.02.2005 00:53:21 von Matej Vela

On 2005-02-19, Adam wrote:
> I am trying to setup sendmail with an openldap backend, but sendmail is
> trying to bind with version 2, and openldap says "historical protocol
> version requested, use LDAPv3 instead". How do I tell sendmail to use
> version 3?

From the fine documentation (op.*):

-wversion Set the LDAP API/protocol version to use.
The default depends on the LDAP client
libraries in use. For example, -w 3 will
cause sendmail to use LDAPv3 when communi-
cating with the LDAP server.

In other words,

define(`confLDAP_DEFAULT_SPEC', `-w 3')dnl