public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Samba on Cygwin: symlinks on Windows
@ 2002-07-18 10:22 Bori Attila
  0 siblings, 0 replies; 4+ messages in thread
From: Bori Attila @ 2002-07-18 10:22 UTC (permalink / raw)
  To: cygwin

Hi all,

> > > Well, I know of at least one worthwile advantage of a Samba port on
Windows.
> > >
> > > Suppose this:
> > > - you have Cygwin installed to the root of a Windows drive (D:)
> > > - you share "/" with Samba, and mount it in Windows, as, say, S:.
> > > - do a "ln -s X Y" and presto: you have a symlink to X on your Windows
box!
> > > You see it as a Windows .lnk on D:, but it looks like a symlink on S:!

Corinna Vinschen asked:
> > I don't get it.  You already have symlinks in Cygwin so what's the
> > actual advantage in this situation?!?

Michael Hoffman wrote:
> If I understand this, I think the idea is that symlinks on S: would appear
> as regular folders to non-Cygwin applications, like Windows Explorer.
> Cute.

Yes! That's the point! And it works for files too, not just folders! A Samba
port on Windows would make it possible for you to use symlinks -- symlinks
that would be visible to native Windows apps. This works locally, and of
course, other workstations that mount the shared resource could also benefit
from this advantage!

Bye,
--
Attila Bori
atus@fw.hu





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Samba on Cygwin: symlinks on Windows
  2002-07-17  5:57 ` Corinna Vinschen
@ 2002-07-17 10:19   ` Michael Hoffman
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Hoffman @ 2002-07-17 10:19 UTC (permalink / raw)
  To: cygwin

On Wed, 17 Jul 2002, Corinna Vinschen wrote:

> On Tue, Jul 16, 2002 at 02:46:43PM +0100, Bori Attila wrote:
> > Well, I know of at least one worthwile advantage of a Samba port on Windows.
> >
> > Suppose this:
> > - you have Cygwin installed to the root of a Windows drive (D:)
> > - you share "/" with Samba, and mount it in Windows, as, say, S:.
> > - do a "ln -s X Y" and presto: you have a symlink to X on your Windows box!
> > You see it as a Windows .lnk on D:, but it looks like a symlink on S:!
>
> I don't get it.  You already have symlinks in Cygwin so what's the
> actual advantage in this situation?!?

If I understand this, I think the idea is that symlinks on S: would appear
as regular folders to non-Cygwin applications, like Windows Explorer.
Cute.
-- 
Michael Hoffman <grouse@mail.utexas.edu>
The University of Texas at Austin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Samba on Cygwin: symlinks on Windows
  2002-07-17  5:47 Bori Attila
@ 2002-07-17  5:57 ` Corinna Vinschen
  2002-07-17 10:19   ` Michael Hoffman
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2002-07-17  5:57 UTC (permalink / raw)
  To: cygwin

On Tue, Jul 16, 2002 at 02:46:43PM +0100, Bori Attila wrote:
> Hello CygWinners,
> 
> 
> Earlier there was a discussion on the Net about a possible port of Samba to
> Windows: see http://www.cygwin.com/ml/cygwin/2001-08/msg00874.html and
> follow-ups. There's even a page
> (http://www.student.uni-koeln.de/cygwin/News/) where they mention an attempt
> to port a pre-2.0 version (no results though). Somebody answered that this
> was a nonsense idea since Windows already had builtin support for SMB shares
> (both as client and as server).
> 
> Well, I know of at least one worthwile advantage of a Samba port on Windows.
> 
> Suppose this:
> - you have Cygwin installed to the root of a Windows drive (D:)
> - you share "/" with Samba, and mount it in Windows, as, say, S:.
> - do a "ln -s X Y" and presto: you have a symlink to X on your Windows box!
> You see it as a Windows .lnk on D:, but it looks like a symlink on S:!

I don't get it.  You already have symlinks in Cygwin so what's the
actual advantage in this situation?!?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Samba on Cygwin: symlinks on Windows
@ 2002-07-17  5:47 Bori Attila
  2002-07-17  5:57 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Bori Attila @ 2002-07-17  5:47 UTC (permalink / raw)
  To: cygwin

Hello CygWinners,


Earlier there was a discussion on the Net about a possible port of Samba to
Windows: see http://www.cygwin.com/ml/cygwin/2001-08/msg00874.html and
follow-ups. There's even a page
(http://www.student.uni-koeln.de/cygwin/News/) where they mention an attempt
to port a pre-2.0 version (no results though). Somebody answered that this
was a nonsense idea since Windows already had builtin support for SMB shares
(both as client and as server).

Well, I know of at least one worthwile advantage of a Samba port on Windows.

Suppose this:
- you have Cygwin installed to the root of a Windows drive (D:)
- you share "/" with Samba, and mount it in Windows, as, say, S:.
- do a "ln -s X Y" and presto: you have a symlink to X on your Windows box!
You see it as a Windows .lnk on D:, but it looks like a symlink on S:!

The reason I need this is that I'm writing an app that heavily relies on
symlinks. Some of the tasks I can't do without symlinks, others I can do by
copying files, but even that is UGLY. So I looked up if there were Samba
binaries for Windows, but I haven't found any.

The reason I'm writing is that you may have seen a Windows binary, or you
may be willing to help continue the effort.

This is how far I got:
- I managed to compile Samba 2.2.5 on Cygwin it by making some evident
modifications to 3 .c files. (I'm no C programmer though.)
- I realized that my Win2K box only frees up ports 137 and 139 (the SMB
ports) when I stop the Server service.
- with the Server service stopped, I ran smbd and nmbd. They pretended
running, and their log files looked healthy, but a share inspection
(\\hostname) in Windows Explorer said something like, '\\HOSTNAME
unavailable. The Server service has not started.' -- Maybe Windows depends
on that specific service when just VIEWING shares?!?
- smbclient, smbcontrol and smbstatus all core dumped.
- using the most recent cygwin

Any input or idea on how to continue from here is appreciated.


Thanks! Greetings,
--
Attila Bori
atus@fw.hu






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-18 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-18 10:22 Samba on Cygwin: symlinks on Windows Bori Attila
  -- strict thread matches above, loose matches on Subject: below --
2002-07-17  5:47 Bori Attila
2002-07-17  5:57 ` Corinna Vinschen
2002-07-17 10:19   ` Michael Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).