En/na Buchan Milne ha escrit:

At present I have:
-added a sasl-regexp to my slapd.conf on my ldap server
-put the following in my /usr/lib/sasl2/smtpd.conf:
pwcheck_method:  ldapdb

look at doc/options.html, it should be

pwcheck_method: auxprop
auxprop_plugin: ldapdb (probably, I don't know this plugin)

(if you don't specify a plugin the library will try all the installed plugins).


The rest of the options are plugin specific. Anyway, I'd go back to saslauthd (since you told you got it working) with:

pwcheck_method: saslauthd

and once you got that working you can experiment with the ldap auxprop plugin.
Note that pwcheck_method is used only for plaintext passwords, so if you have other plugins installed the sasl library will try those instead, so either install only the plugins you need or add a

mech_list: PLAIN

option.
Apart from postfix authentication, did you get ldap authentication working with cyrus-imapd? If so the sasl library is working and the problem is with postfix or its configuration.

[...]
BTW, I really think sasl has about the worst documentation of any of the
server-side software ...

they always say that documentation patches are welcome.

Bye



--
Que les importa a las viudas, a los hu�rfanos, a los desvalidos
si las masacres se hacen en nombre del totalitarismo o en el
sagrado nombre de la libertad y la democracia.
    Mahatma Gandhi (1869 - 1948)

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to