Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 29th, 2004, 04:40 AM
Registered User
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linux Fileserver in a Win 2K workgroup

I am trying to set up a Linux file server in a Windows 2000 Professional workgroup.
I have installed and configured SAMBA as documented in Chapter 9 pp366 -378 of Beginning Red Hat Linux 9.
From the Linux fileserver I can see the Windows machines and access shares on them using Nautilus.
From the Windows machines I can see the Linux fileserver listed in Windows Explorer 'Computers near me' and I can ping the fileserver from the command line. However, if I click on the Linux file server I get an error message saying: \\fileserver is not accessible. The network path was not found.
Could you sugest why this is and tell me what changes I need to make to the SAMBA configuration to allow access to the Linux file server?
Thanks,
Rupert Baker.
 
Old April 29th, 2004, 06:56 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

First off, is the firewall running on the Linux machine :) (I don't actually use Redhat, but I believe if you type "lokkit" at the command line you can launch the firewall configuration utility).

Lots of things can cause this problem and Microsoft's error messages are useless (even Bill Gates has said so in public), try looking at your Samba log instead. They're much more informative. XP clients default to encrypted logins, I believe. You can configure Samba to handle encrypted logins, as well (which is probably better than disabling what meagre security measures do exist on each Windows client in turn ;).
 
Old April 30th, 2004, 05:02 AM
Registered User
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Daniel,
Thanks for the information about the firewall. I have turned this off so now I can see the share in Windows Explorer. However, I can only connect using the root account. I have tried creating a usermap to map Windows users to Linux ones, specifying valid users and changing to Share level security, all to no avail. Any suggestions about how I can make the share available to other users?
Thanks,
Rupert.
 
Old April 30th, 2004, 09:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cool. We've all been there. remember to configure your firewall and turn it back on again, when you're done :)...

Now, is this a public share? If so, you just put:

public = yes

under the sharename in your smb.conf file. You may need:

guest ok = Yes

too (I haven't run any public shares for a bit).

Have a read of this, too:
http://www.toad-one.org/howto/Samba/...eshooting.html

HTH
Dan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime Access 2K and Sql 2K laure Access 0 April 3rd, 2006 08:32 AM
Workgroup surfingeurope81 Access VBA 2 February 17th, 2006 06:05 PM
Q. How do I set permissions in Win. XP or Linux? richard.york PHP FAQs 0 April 5th, 2004 05:51 PM
Win '98 vs. Win XP rgerald Access VBA 0 February 19th, 2004 12:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.