auth failed for pam saslauthd freebsd current
Stefan Parvu
sparvu at systemdatarecorder.org
Sat Dec 6 08:39:34 UTC 2014
Hi,
Im trying to understand why I cant auth via pam using testsaslauthd.
I have installed:
* cyrus-sasl-2.1.26_9
* cyrus-sasl-saslauthd-2.1.26_1 SASL authentication server for cyrus-sasl2
and Im starting saslauthd in debug mode:
Starting saslauthd.
saslauthd[3219] :main : num_procs : 5
saslauthd[3219] :main : mech_option: NULL
saslauthd[3219] :main : run_path : /var/run/saslauthd
saslauthd[3219] :main : auth_mech : pam
saslauthd[3219] :ipc_init : using accept lock file: /var/run/saslauthd/mux.accept
saslauthd[3219] :detach_tty : master pid is: 0
saslauthd[3219] :ipc_init : listening on socket: /var/run/saslauthd/mux
saslauthd[3219] :main : using process model
saslauthd[3219] :have_baby : forked child: 3220
saslauthd[3220] :get_accept_lock : acquired accept lock
saslauthd[3219] :have_baby : forked child: 3221
saslauthd[3219] :have_baby : forked child: 3222
saslauthd[3219] :have_baby : forked child: 3223
and then trying to test:
testsaslauthd -u xxxx -p xxxx returns always:
0: NO "authentication failed"
and in the saslauthd logs:
saslauthd[3220] :rel_accept_lock : released accept lock
saslauthd[3221] :get_accept_lock : acquired accept lock
saslauthd[3220] :do_auth : auth failure: [user=sparvu] [service=imap] [realm=localhost] [mech=pam] [reason=PAM auth error]
The saslauthd runs as:
root 3231 0.0 0.1 47276 5176 4 S+ 10:38AM 0:00.01 /usr/local/sbin/saslauthd -d -a pam -m /var/run/saslauthd
root 3232 0.0 0.1 47276 5176 4 S+ 10:38AM 0:00.00 /usr/local/sbin/saslauthd -d -a pam -m /var/run/saslauthd
root 3233 0.0 0.1 47276 5172 4 S+ 10:38AM 0:00.00 /usr/local/sbin/saslauthd -d -a pam -m /var/run/saslauthd
root 3234 0.0 0.1 47276 5172 4 S+ 10:38AM 0:00.00 /usr/local/sbin/saslauthd -d -a pam -m /var/run/saslauthd
root 3235 0.0 0.1 47276 5172 4 S+ 10:38AM 0:00.00 /usr/local/sbin/saslauthd -d -a pam -m /var/run/saslauthd
Anyone any ideas ?
Many thanks,
--
Stefan Parvu <sparvu at systemdatarecorder.org>
More information about the freebsd-questions
mailing list