From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pawel K Newsgroups: gmane.emacs.help Subject: problem: tramp and CIFS share. cannot get it. Date: Mon, 13 Sep 2010 11:49:35 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1284371834 4138 80.91.229.12 (13 Sep 2010 09:57:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 09:57:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 13 11:57:13 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Ov5mj-0004Dw-1o for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Sep 2010 11:57:13 +0200 Original-Received: from localhost ([127.0.0.1]:53144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov5mi-0000A0-9S for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Sep 2010 05:57:12 -0400 Original-Received: from [140.186.70.92] (port=40849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov5j8-00076g-KJ for help-gnu-emacs@gnu.org; Mon, 13 Sep 2010 05:53:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ov5fN-0006pS-Oc for help-gnu-emacs@gnu.org; Mon, 13 Sep 2010 05:49:38 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:45542) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov5fN-0006pA-KH for help-gnu-emacs@gnu.org; Mon, 13 Sep 2010 05:49:37 -0400 Original-Received: by eyh5 with SMTP id 5so3060695eyh.0 for ; Mon, 13 Sep 2010 02:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=O7V8xz6Ybo5Hgi3UE8WWit6e4jX98TDdILiECFLqyAw=; b=Vv1bZM3yR7//xf+OEfIpJSVjsOHFHHgMEngwxLTTzEBdBpebG4RL/VwYQ4hn1vW3XF nH7/unw6GxSDAMAOo/E0djoxHStTjVfQFeSVmDiWxP8SNFWIkivcoeIIfd5xWtz87LwW 1SNWX5hsQ7GueYOK1UZ/vSEcSnVKVANUij54g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CG9dNpTi5zgi8MEXCRCOQ2LWhBNEBf8450t8wPFzQ4lkCBQzMF/AtunP9yJIx9eIPR u4HWLhLCMOYiS9hGKfZ5YBcT2Oioga9GOKEXWvbmVvNC0rpvW71LAQTctNBjLRg+zsf2 CVUC/26mAZsTA89tthARx30TfRZJSW/Er4jCo= Original-Received: by 10.14.119.194 with SMTP id n42mr2500913eeh.21.1284371375977; Mon, 13 Sep 2010 02:49:35 -0700 (PDT) Original-Received: by 10.14.121.13 with HTTP; Mon, 13 Sep 2010 02:49:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74938 Archived-At: Hallo Group Members. I am trying to get smb share: /smb:some.cifs.machine:/path/to/share/ connection fails with: Enter john's password: Domain=[MyDomain] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2] Connection to HOST-CITY-D002 failed (Error NT_STATUS_BAD_NETWORK_NAME) Process *tramp/smb john%MyDomain@some.cifs.machine* exited abnormally with code 1 so far I debugged following: from buffer *debug tramp/smb john%MyDomain@some.cifs.machine*: smbclient //some.cifs.machine/path -U john -W MyDomain -s /dev/null (Note that `/to/share' part is truncated.) Thus in shell: prompt$ smbclient //some.cifs.machine/path -U john -W MyDomain gives identical error as encountered in *debug tramp/smb john%MyDomain@some.cifs.machine* buffer. but, with complete path: prompt$ smbclient //some.cifs.machine/path/to/share -U john -W MyDomain connection succeeds. Truncation is done by `tramp-smb-get-share' in very beginning of `tramp-smb-maybe-open-connection'. I am using: tramp-version is a variable defined in `trampver.el'. Its value is "2.1.18-23.2" emacs-version is a variable defined in `version.el'. Its value is "23.2.1" do You have any idea of how to make it work ok. best regards and thank You very much for tramp module, Pawel