[dovecot] Re: ldap support
David E. Storey
dave at tamos.net
Thu Mar 6 18:09:07 EET 2003
I think it would be trivial to make dovecot support LDAPv3.
All it would entail is modifying ldap_conn_open() in src/auth/db-ldap.c.
code might look something like:
int version = LDAP_VERSION3;
if (ldap_set_option (conn->ld, LDAP_OPT_PROTOCOL_VERSION,
&version)!= LDAP_OPT_SUCCESS)
{
i_fatal ("could not set LDAP_OPT_PROTOCOL_VERSION %d", version);
}
How Timo would want to integrate with configuration is up to him. But at
any rate, if you really NEED LDAPv3, you now have it.
d!
On Thu, 2003-03-06 at 10:42, Farkas Levente wrote:
> >>it seem to me that dovecot support only v2 ldap protocol but openldap2.1
> >>support only v3 (or you can enable v2 in the conf file, but it seems
> >>they wouldn't like to support it in the future). will dovecot support v3
> >>ldap protocal?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20030306/f3f31fb0/attachment-0003.bin>
More information about the dovecot
mailing list