From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Gauland Newsgroups: gmane.emacs.devel Subject: Re: IRC server USER/PASS in ERC Date: Tue, 7 Dec 2010 08:00:25 +1300 Message-ID: <20101206190025.GA3788@dimension8.tehua.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" X-Trace: dough.gmane.org 1291665995 24656 80.91.229.12 (6 Dec 2010 20:06:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 20:06:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 06 21:06:29 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPhKO-00018l-LS for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2010 21:06:29 +0100 Original-Received: from localhost ([127.0.0.1]:38725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPhKO-0002Jo-82 for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2010 15:06:28 -0500 Original-Received: from [140.186.70.92] (port=58254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPgIp-0006L0-Li for emacs-devel@gnu.org; Mon, 06 Dec 2010 14:00:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPgIn-0006mw-NP for emacs-devel@gnu.org; Mon, 06 Dec 2010 14:00:47 -0500 Original-Received: from jersey.rurallink.co.nz ([114.134.15.197]:60710 helo=smtp.rurallink.co.nz) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPgIm-0006jN-M0 for emacs-devel@gnu.org; Mon, 06 Dec 2010 14:00:45 -0500 Original-Received: from 114-134-9-4.rurallink.co.nz ([114.134.9.4] helo=localhost) by smtp.rurallink.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PPgIb-00043P-J2; Tue, 07 Dec 2010 08:00:34 +1300 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Rurallink-Authenticated-User: aidalgol@no8wireless.co.nz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 06 Dec 2010 15:04:28 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133470 Archived-At: --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 06, 2010 at 03:15:46PM +0100, Deniz Dogan wrote: > 2010/12/6 Julien Danjou : > > On Mon, Dec 06 2010, Aidan Gauland wrote: > > > >> *Is* there even a way to do this in ERC? =A0I certainly hope so, and > >> that I simply haven't found it. =A0If there is *NOT* a way to to this = in > >> ERC, then I am willing to add this capability. > > > > I do this without any problem with ERC and ZNC. > > Try to evaluate something like: > > > > =A0(erc > > =A0 :server "someserver" > > =A0 :nick "jd" > > =A0 :password "bla") > > > > That should work. > > >=20 > I told Aidan basically the same thing on help-gnu-emacs, but he > insisted that the password argument to `erc' is used to identify to > NickServ and not as a PASS parameter to the IRC server... I'm sorry if I seemed to be insisting that. I only meant that when I tried, I got the error... =3D=3D> ERROR from irc.example.net: USER / PASS is incorrect. You asked me why I thought that the password argument to `erc' is not used as the PASS to the IRC server, so I told you. In your message to me, you said... > I looked in the source code and found this: > "Use PASSWD as user password on the server." > The variable erc-session-password is then set to PASSWORD and then > when erc-login is called it sends the value as "PASS" to the server. I have looked at the ERC source code, but didn't figure out much since I am not very familiar with the IRC protocol, so I am grateful that you pointed this out. I must admit that I feel rather foolish now that I have used Wireshark to look at the packets sent by ERC to find that it does, indeed, send the password parameter as the PASS to the server. It really does seem to be a problem at the other end (the bouncer). I suppose it's not a complete loss since I learned from Julien Danjou that ERC *does* work with bouncers (or at least ZNC). Anyway, consider this annoying idiot out of your hair. Kind regards, Aidan Gauland --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkz9MskACgkQjyzTRvYJmaUmQwCdHcrmvXArEbqANfAJ5xbM2Vvm hHEAn0oAZvuWIN3ukg3PsGUmdvBTOSyJ =Vby8 -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--