"Shekhar" <[EMAIL PROTECTED]> writes:
> Actually I compiled it wrong way.
> "make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/local/include"
> AUXLIBS="-L/usr/loc
> al/lib -lsasl"; make install" is correct way.
So is SASL in /usr/local/lib?
> Now I have compiled SASL with options
> "./configure --enable-login --disable-krb4 --disable-gssapi --disable-anon -
> -disable-plain --enable-pwcheck"
> I have created a file /usr/loca/lib/sasl/smtpd.conf with
> "pwcheck_method:shadow".
Does your distro use shadow passwords?
Here is what I use in Exim for smtp auth using pwcheck (there is a patch
to be applied to exim 4.02 - I have applied that patch, which was posted
on exim-users, created a port, and submitted it to the freebsd exim port
maintainer yesterday ...)
I think the checks might be similar in postfix - look at sample-auth to
see what you are using, and what you must use.
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if pwcheck{$1:$2}{1}{0}}"
server_set_id = $1
plainns:
driver = plaintext
public_name = PLAIN
server_condition = "${if pwcheck{$2:$3}{1}{0}}"
server_set_id = $2
-srs
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help