Mail Archives: cygwin/2007/08/14/11:08:36
--0-1399057351-1187103029=:91304
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID:
Content-Disposition: INLINE
Jaimin,
<http://cygwin.com/acronyms/#PPIOSPE>. I've set the Reply-To:
accordingly; please make sure your mailer respects it.
On Tue, 14 Aug 2007, jaimin bhavsar wrote:
> Hi Igor,
>
> I went through the link you had sent but no luck, can
> you please let me know how to enable the permissions
> to map the share remotly using rsh.
>
> Thanks
> Jaimin
> Note: forwarded message attached.
That link does not contain instructions on *HOW* to make shares public.
Please see the Microsoft documentation for that (MSDN Knowledgebase would
be a good starting point).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
--0-1399057351-1187103029=:91304
Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine DOT GSO DOT 4 DOT 63 DOT 0708141105382 DOT 17254 AT access1 DOT cims DOT nyu DOT edu>
Content-Description:
X-Apparently-To: jaimin76 AT yahoo DOT com via 209.191.85.30; Tue, 07 Aug 2007 09:55:17 -0700
X-Originating-IP: [209.132.176.174]
Authentication-Results: mta146.mail.re2.yahoo.com from=cygwin.com; domainkeys=neutral (no sig)
Received: from 209.132.176.174 (HELO sourceware.org) (209.132.176.174)
by mta146.mail.re2.yahoo.com with SMTP; Tue, 07 Aug 2007 09:55:15 -0700
Received: (qmail 17504 invoked by alias); 7 Aug 2007 16:55:09 -0000
Received: (qmail 17468 invoked by uid 22791); 7 Aug 2007 16:55:09 -0000
X-Spam-Check-By: sourceware.org
Received: from web36613.mail.mud.yahoo.com (HELO web36613.mail.mud.yahoo.com) (209.191.85.30) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 07 Aug 2007 16:55:04 +0000
Received: (qmail 88711 invoked by uid 60001); 7 Aug 2007 16:55:01 -0000
X-YMail-OSG: eGrESHUVM1lTtRB0ZSGtP_V0NC1zI71exMJgqILwt_PbKnRCY1f0s2...nV6zHXynA--
Received: from [192.18.101.5] by web36613.mail.mud.yahoo.com via HTTP; Tue, 07 Aug 2007 09:55:01 PDT
Date: Tue, 7 Aug 2007 09:55:01 -0700 (PDT)
From: jaimin bhavsar <jaimin76 AT yahoo DOT com>
Subject: Re: "net use" command works locally on the sytem where cygwin is installed but using rsh doesnt work
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine DOT GSO DOT 4 DOT 63 DOT 0708061752420 DOT 5351 AT access1 DOT cims DOT nyu DOT edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-jaimin76=yahoo DOT com AT cygwin DOT com>
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
Content-Length: 1445
Thanks Igor,
Now, as you said after using quotes and extra shashs
for I am able to get correct command on the system,
but now I am getting another error :
System Error 1223 has occured.
The operation was canceled by user
The share I am trying to access is a public share and
I do not require a password to access it.
When I checked Application event logs I get :
The description for Event ID ( 0 ) in Source ( rshd )
cannot be found. The local computer may not have the
necessary registry information or message DLL files to
display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The
following information is part of the event: rshd: PID
2600: root AT nws-bur-121-205 as Administrator: cmd='net
use z: \\\\10.8.121.42\\myshare'.
Thanks
Jaimin
--- Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Mon, 6 Aug 2007, jaimin bhavsar wrote:
>
> > Hi There,
> >
> > I am trying following command locally :
> >
> > net use z: \\\\<ipaddress>\\<sharename>
> >
> > works
> >
> > but the same thing if I try using rsh It does not
> work
> >
> > rsh -l Administrator <ipaddress> net use z:
> > \\\\<ipaddress>\\<sharename>
> >
> > I get following message :
> >
> > The syntax of this command is:
> >
> > NET USE
> > [snip]
> > More help is available by typing NET HELPMSG 3506.
> >
> > Please help me out if executing "net use" command
> > using rsh.
> >
> > I checked the mailing list and found the similar
> > thread with "ssh" but I was not able to crack this
> > down.
>
> The command you give will be sent to the remote
> shell and re-parsed. So,
> you have to escape the backslashes twice.
>
> Or, you could just put single quotes around the path
> to the share.
>
> Note that this does not guarantee that you'd be able
> to access the share,
> only that the remote end will see the right share
> name. See
>
<http://cygwin.com/faq/faq.using.html#faq.using.shares>
> for details.
> Igor
> --
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu |
> igor AT watson DOT ibm DOT com
> ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D.
> (name changed!)
> |,4- ) )-,_. ,\ ( `'-' old name: Igor
> Pechtchanski
> '---''(_/--' `-'\_) fL a.k.a
> JaguaR-R-R-r-r-r-.-.-. Meow!
>
> Belief can be manipulated. Only knowledge is
> dangerous. -- Frank Herbert
>
> --
> 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/
>
>
--
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/
--0-1399057351-1187103029=:91304
Content-Type: text/plain; charset=us-ascii
--
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/
--0-1399057351-1187103029=:91304--
- Raw text -