testsaslauthd -u '[email protected]' -p secret : 0: NO "authentication failed"
"romain7426 via SASL" <[email protected]> Tue, 8 Feb 2022 13:21:52 -0500
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <[email protected]> |
--16443445121.AdceE2633.48455 Date: Tue, 8 Feb 2022 13:21:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey there,=20 I have an authentication issue for '[email protected]':=20 << $ =C2=A0sasldblistusers2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 [email protected]: userPassword [email protected]: userPassword [email protected]: cmusaslsecretOTP [email protected]: cmusaslsecretOTP $ testsaslauthd -u 'jane'=C2=A0 -p secret=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 0: OK "Success." $ echo 'secret' | doas saslpasswd2 -p -c '[email protected]' $ sasldblistusers2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [email protected]: userPassword [email protected]: userPassword [email protected]: cmusaslsecretOTP [email protected]: cmusaslsecretOTP [email protected]: cmusaslsecretOTP [email protected]: userPassword $ testsaslauthd -u '[email protected]'=C2=A0 -p secret 0: NO "authentication failed" $ tail -1 /var/log/authlog=C2=A0 Feb=C2=A0 8 18:16:14 homebox saslauthd[68225]:=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : aut= h failure: [[email protected]] [service=3Dimap] [realm=3D] [mech=3Dsas= ldb] [reason=3DUnknown] =C2=A0 How is '[email protected]' supposed to be authenticated?=20 =C2=A0 Thanks a lot for your help! ------------------------------------------ Cyrus: SASL Permalink: https://cyrus.topicbox.com/groups/sasl/T62f7d8a94a7c45a4-Mf30401= 4841154eb6e6fd75d0 Delivery options: https://cyrus.topicbox.com/groups/sasl/subscription --16443445121.AdceE2633.48455 Date: Tue, 8 Feb 2022 13:21:52 -0500 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html><html><html><body><div>Hey there, <br /></div><div><br /></div><div>I= have an authentication issue for '<a href=3D"mailto:[email protected]">j= [email protected]</a>': </div><div><br /></div><div><<<br /></div><d= iv>$ sasldblistusers2 = &nb= sp; = <br /></div><div><a href=3D"mailto:[email protected]">jdoe@homeb= ox.my.domain</a>: userPassword<br /></div><div><a href=3D"mailto:jane@homeb= ox.my.domain">[email protected]</a>: userPassword<br /></div><div><a h= ref=3D"mailto:[email protected]">[email protected]</a>: cmusaslse= cretOTP<br /></div><div><a href=3D"mailto:[email protected]">jane@home= box.my.domain</a>: cmusaslsecretOTP<br /></div><div><br /></div><div>$ test= saslauthd -u 'jane' -p secret &n= bsp; <br /></div><div>0: OK "Success."<br = /></div><div><br /></div><div>$ echo 'secret' | doas saslpasswd2 -p= -c '<a href=3D"mailto:[email protected]">[email protected]</a>'<br /><= /div><div><br /></div><div>$ sasldblistusers2 = &nb= sp; = <br /></d= iv><div><a href=3D"mailto:[email protected]">[email protected]</a= >: userPassword<br /></div><div><a href=3D"mailto:[email protected]">j= [email protected]</a>: userPassword<br /></div><div><a href=3D"mailto:j= [email protected]">[email protected]</a>: cmusaslsecretOTP<br /></div><div><a hr= ef=3D"mailto:[email protected]">[email protected]</a>: cmusaslsec= retOTP<br /></div><div><a href=3D"mailto:[email protected]">jane@homeb= ox.my.domain</a>: cmusaslsecretOTP<br /></div><div><a href=3D"mailto:joe@ex= ample.net">[email protected]</a>: userPassword<br /></div><div><br /></div><d= iv>$ testsaslauthd -u '<a href=3D"mailto:[email protected]">[email protected]= et</a>' -p secret<br /></div><div>0: NO "authentication fail= ed"<br /></div><div><br /></div><div>$ tail -1 /var/log/authlog <= br /></div><div>Feb 8 18:16:14 homebox saslauthd[68225]: &= nbsp; &nbs= p; : auth failure: [user=3D<a href=3D"mailto:[email protected]">joe@exa= mple.net</a>] [service=3Dimap] [realm=3D] [mech=3Dsasldb] [reason=3DUnknown= ]<br /></div><div>>><br /></div><div> <br /></div><div>How is &#= 39;<a href=3D"mailto:[email protected]">[email protected]</a>' supposed to = be authenticated? <br /></div><div> <br /></div><div>Thanks a lot for = your help!<br /></div><div><br /></div><div><br /></div><div><br /></div><d= iv><br /></div><div id=3D"topicbox-footer" style=3D"margin:10px 0 0;border-= top:1px solid #ddd;border-color:rgba(0,0,0,.15);padding:7px 0;"> <strong><a href=3D"https://cyrus.topicbox.com/latest" style=3D"color:inheri= t;text-decoration:none">Cyrus</a></strong> / SASL / see <a href=3D"https://cyrus.topicbox.com/groups/sasl">discussions</a> + <a href=3D"https://cyrus.topicbox.com/groups/sasl/members">participants</a> + <a href=3D"https://cyrus.topicbox.com/groups/sasl/subscription">delivery&nb= sp;options</a> <a href=3D"https://cyrus.topicbox.com/groups/sasl/T62f7d8a94a7c45a4-Mf30401= 4841154eb6e6fd75d0" style=3D"float:right">Permalink</a> </div> </body></html></html></html>= --16443445121.AdceE2633.48455--