delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/29/09:00:37

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Florian (flobee)" <flobee AT gmail DOT com>
Subject: mount networkdrive (a hafe solution)
Date: Sat, 29 Jul 2006 14:54:31 +0200
Lines: 26
Message-ID: <44CB5A87.4050403@gmail.com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

hi
is there any "offical" solution to mount network drives?
i'm confused about several messages i found in the lists and google

so, i can do with only one "but":

i can mount networkdrives local or remote when _not_ using public key
authentication! :-(

1) ssh login without privat/public key
2) bash> net use driveletter: \\\\host\\sambasharename /USER:smbuser smbpass
  eg.: "net use s: \\\\192.168.1.11\\share /USER:share pass"
if remote login is the same as for the samba login this must be fine:
 "net use s: \\\\192.168.1.11\\share"
3) bash>mount (and you have s: mounted)

but only for this ssh session! :-(
but this is ok for me :-)

question: when login remotly: where can i start a script to do this
automaticly ? .bashrc ?

kind regards
flobee

note: is there any ntp for cygwin list?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019