PAM SASL auth works locally but not with hostname

[email protected] Mon, 26 Jun 2023 18:24:38 -0400
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
--16878182781.D915a6C9.80376
Date: Mon, 26 Jun 2023 18:24:38 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I have been trying to figure this out for a long time now. I am trying to a=
uthenticate as a user on the system, and testsaslauthd works locally, but o=
nly as the plain username, not with the hostname appended. If I set the cli=
ent to login without the hostname, cyrus receives it as *user@net* which do=
es not work either. I am not sure how to get PAM to accept a hostname, or S=
ASL to authenticate with only the username.

------------------------------------------
Cyrus: SASL
Permalink: https://cyrus.topicbox.com/groups/sasl/Ta1b3aca3b45dc3a1-M304075=
42bf34c8b396b6b5a6
Delivery options: https://cyrus.topicbox.com/groups/sasl/subscription

--16878182781.D915a6C9.80376
Date: Mon, 26 Jun 2023 18:24:38 -0400
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><html><html><body><div>I have been trying to figure this out for a lo=
ng time now. I am trying to authenticate as a user on the system, and <span=
 class=3D"groups+newtopic:compose-font" style=3D"font-family: menlo, consol=
as, monospace, sans-serif;">testsaslauthd </span>works locally, but only as=
 the plain username, not with the hostname appended. If I set the client to=
 login without the hostname, cyrus receives it as <i>user@net</i> which doe=
s not work either. I am not sure how to get PAM to accept a hostname, or SA=
SL to authenticate with only the username.<br /></div><div><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/Ta1b3aca3b45dc3a1-M304075=
42bf34c8b396b6b5a6" style=3D"float:right">Permalink</a>
</div>
</body></html></html></html>=

--16878182781.D915a6C9.80376--