git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1655
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2006-05-15 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/s_auth.c (check_auth_finished): Only check passwords on
+ user ports.
+
2006-05-14 Michael Poole <mdpoole@troilus.org>
* doc/example.conf (Connect): Mention the vhost option.
2006-05-14 Michael Poole <mdpoole@troilus.org>
* doc/example.conf (Connect): Mention the vhost option.
* as possible so that iauth's challenge/response (which uses PASS
* for responses) is not confused with the client's password.
*/
* as possible so that iauth's challenge/response (which uses PASS
* for responses) is not confused with the client's password.
*/
- if (!FlagHas(&auth->flags, AR_PASSWORD_CHECKED))
+ if (IsUserPort(auth->client)
+ && !FlagHas(&auth->flags, AR_PASSWORD_CHECKED))
{
struct ConfItem *aconf;
aconf = cli_confs(auth->client)->value.aconf;
{
struct ConfItem *aconf;
aconf = cli_confs(auth->client)->value.aconf;
- if (!EmptyString(aconf->passwd)
+ if (aconf
+ && !EmptyString(aconf->passwd)
&& strcmp(cli_passwd(auth->client), aconf->passwd))
{
ServerStats->is_ref++;
&& strcmp(cli_passwd(auth->client), aconf->passwd))
{
ServerStats->is_ref++;