aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2017-06-12 17:52:42 +0200
committerMichael Albinus2017-06-12 17:52:42 +0200
commit7dfc8353ce8e91fd4391abe7cb669dcb643f7b39 (patch)
treedd3e17c16be37c5908e3af629a9081e139e5507c /doc/misc
parente6f47a9d6c5dcb1b7be3830381085412da9b10e6 (diff)
downloademacs-7dfc8353ce8e91fd4391abe7cb669dcb643f7b39.tar.gz
emacs-7dfc8353ce8e91fd4391abe7cb669dcb643f7b39.zip
Handle port and domain in Tramp's password cache
* doc/misc/tramp.texi (Password handling): Explain port and domain handling in authinfo. * lisp/net/tramp.el (tramp-process-actions, tramp-clear-passwd): * lisp/net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl) (tramp-smb-maybe-open-connection): Handle also domain and port.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 4ca393256f6..38b63715b51 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -1503,9 +1503,15 @@ machine melancholia port scp login daniel password geheim
1503 1503
1504The port can take any @value{tramp} method (@pxref{Inline methods}, 1504The port can take any @value{tramp} method (@pxref{Inline methods},
1505@pxref{External methods}). Omitting port values matches all 1505@pxref{External methods}). Omitting port values matches all
1506@value{tramp} methods. 1506@value{tramp} methods. Domain and ports, as used in @value{tramp}
1507file name syntax, must be appended to the machine and login items:
1507 1508
1508Setting @code{auth-source-debug} to @code{t} to debug messages. 1509@example
1510machine melancholia#4711 port davs login daniel%DOMAIN password geheim
1511@end example
1512
1513@vindex auth-source-debug
1514Set @code{auth-source-debug} to @code{t} to debug messages.
1509 1515
1510 1516
1511@anchor{Caching passwords} 1517@anchor{Caching passwords}