From: Andreas Schwab <schwab@linux-m68k.org>
To: Alexey Veretennikov <alexey.veretennikov@gmail.com>
Cc: Ted Zlatanov <tzz@lifelogs.com>,
Lars Magne Ingebrigtsen <larsi@gnus.org>,
22188@debbugs.gnu.org
Subject: bug#22188: 24.5; auth-source-search ignores netrc entries with port set
Date: Thu, 24 Dec 2015 16:09:41 +0100 [thread overview]
Message-ID: <m2fuyr3mtm.fsf@linux-m68k.org> (raw)
In-Reply-To: <m2si2sori8.fsf@MacBook-Pro.lan> (Alexey Veretennikov's message of "Thu, 24 Dec 2015 15:22:55 +0100")
Alexey Veretennikov <alexey.veretennikov@gmail.com> writes:
> The bug itself is fixed. However the behavior when port specified is
> still strange. Given the same test case, the
>
> (dolist (account (auth-source-search :port 100 :max 999))
> (print (plist-get account :host)))
>
> returns
>
> "mymachine1"
>
> "mymachine2"
>
> "mymachine3"
>
> Therefore all machines without ports and the one with the correct
> port. I assume there should be only one result returned, the machine
> with the proper port.
An entry without port is matched by any port. In general, an absent
specification means any.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2015-12-24 15:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 20:42 bug#22188: 24.5; auth-source-search ignores netrc entries with port set Alexey Veretennikov
2015-12-17 18:36 ` Eli Zaretskii
2015-12-23 16:53 ` Ted Zlatanov
2015-12-24 14:22 ` Alexey Veretennikov
2015-12-24 15:09 ` Andreas Schwab [this message]
2015-12-24 15:18 ` Ted Zlatanov
2015-12-24 15:25 ` Lars Ingebrigtsen
2015-12-24 21:02 ` Ted Zlatanov
2015-12-25 20:41 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fuyr3mtm.fsf@linux-m68k.org \
--to=schwab@linux-m68k.org \
--cc=22188@debbugs.gnu.org \
--cc=alexey.veretennikov@gmail.com \
--cc=larsi@gnus.org \
--cc=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.