From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11297 invoked by alias); 17 Jul 2002 10:26:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11277 invoked from network); 17 Jul 2002 10:26:41 -0000 Received: from unknown (HELO fmx4.freemail.hu) (195.228.242.224) by sources.redhat.com with SMTP; 17 Jul 2002 10:26:41 -0000 Received: (qmail 21330 invoked from network); 17 Jul 2002 12:18:07 +0200 Received: from fm8.freemail.hu (195.228.242.208) by fmx4.freemail.hu with SMTP; 17 Jul 2002 12:18:07 +0200 Received: (qmail 70693 invoked from network); 17 Jul 2002 12:25:58 +0200 Received: from dial71.86.freemail.hu (HELO szinapszis) (195.228.86.71) by fm8.freemail.hu with SMTP; 17 Jul 2002 12:25:57 +0200 Message-ID: <000601c22d85$03494930$4756e4c3@szinapszis> From: "Bori Attila" To: Subject: Samba on Cygwin: symlinks on Windows Date: Wed, 17 Jul 2002 05:47:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-07/txt/msg01349.txt.bz2 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/