Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th June 2004, 05:56 AM
iontyre Offline
Registered User
 
Join Date: Apr 2004
Posts: 49
Samba: Windows boxes can't access my FC2 Samba shares

I installed and setup the samba server on my FC2 box, and have two other windows machines on my network serviced by a DLink 614+ router/switch. The windows machines show the Samba Server in the Network Neighborhood, but I get an access denied when I try to browse the server for shares. I do have a shared directory on the server. I expect this is a username/password issue. My win boxes login with a full name (Joe E. Blow) and no password. Is there something else I need to setup on the server end?
Reply With Quote
  #2  
Old 11th June 2004, 09:30 AM
zebra Offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Have you set up your network username and password? If not, then in xp go to start/controlpanel/user accounts/choose your account/in the upper left hand corner choose manage my network password.

the format for your password is for user name type in

server/user name

server is the name of your samba server.
Reply With Quote
  #3  
Old 12th June 2004, 01:44 AM
iontyre Offline
Registered User
 
Join Date: Apr 2004
Posts: 49
I'm using Win98 on my win boxes. Isn't my username and password as I specified above? I don't use a password, but do have a login name.
Reply With Quote
  #4  
Old 12th June 2004, 04:32 AM
pawelgm Offline
Registered User
 
Join Date: Jun 2004
Age: 34
Posts: 19
I have all kinds of issues with SMB also but I found this works:

in the Internet Explorer type in

the ip of your linux box and the share name and wait like 10 sec and it will come up without asking for password example:

\\192.168.1.100\Stuff\

192.168.1.100 is the ip
Stuff is the directory I have shared

give it a try, when I type in \\192.168.1.100 it asks me for a password
Reply With Quote
  #5  
Old 12th June 2004, 03:30 PM
iontyre Offline
Registered User
 
Join Date: Apr 2004
Posts: 49
Not working at all, guys. My win98 box shows localhost in the network neighborhood, along with Samba Server in the comment column, but if I click on it I get "\\localhost is not accessable. The computer or share name could not be found. Make sure you typed it correctly, and try again. I have followed all the directions in the samba config utility, but I must have something set up wrong. If I boot my server in Win98 instead, all the other computers see it just fine, but in FC2 I can't seem to get it working right.
Reply With Quote
  #6  
Old 13th June 2004, 03:56 AM
engwnbie Offline
Registered User
 
Join Date: May 2004
Location: Brooklin, ON, Canada
Age: 52
Posts: 162
Did you try?
This works for others.http://www.fedoraforum.org/forum/sh...p;threadid=2556

There are also great examples and how to on your fedora installation. FC1 is a bit different. FC2 in /usr/share/doc/samba-3.0.3/docs there are pdf files that explain how to samba network with other operating systems. Samba-Guide.pdf has different examples and how to implement.
__________________
Dell Optiplex GX260, 1024 M Ram On board everything
& P4 HT, 80G Raid 1 Dual Head
Reply With Quote
  #7  
Old 13th June 2004, 04:28 AM
embjet Offline
Registered User
 
Join Date: May 2004
Location: Shreveport, Louisiana
Posts: 4
Password Info

Make sure there is a user account on the linux box with the same username and password as the windows 98 box. Log on as root on the linux box and using the following command "smbpasswd -a" type in the username and password that the linux account from above uses. Make sure that in the "smb.conf" file there is an entry that states: "encrypt passwords = yes"


To test you install use a "smb.conf" that has about 3 lines. Keep it simple at first.

See Ya
Reply With Quote
  #8  
Old 13th June 2004, 03:31 PM
iontyre Offline
Registered User
 
Join Date: Apr 2004
Posts: 49
I've done all these things. None of it works. netstat -a does not even show samba running!!! Yet I have restarted samba, and it reports the restart worked OK. What the hell is going on?
Reply With Quote
  #9  
Old 14th June 2004, 03:53 AM
tbldusr Offline
Registered User
 
Join Date: Jun 2004
Posts: 1
netstat won't show a samba. Use ps -A and look for nmbd and smbd. If you're seeing the Samba Server from your windows machine then samba is running. From your earlier post you said that it complains about \\localhost. I had the same problem at first and it is because your fedora machine does not have the hostname set (analagous to computer name in windows - it ought to ask for one when installing but it doesn't). Open up your network configuration dialog (System Settings->Network), go to the DNS tab, and change the hostname from "localhost.localdomain" to something else like "fedora". Reboot the computer and everything should work.
Reply With Quote
  #10  
Old 12th October 2004, 03:57 AM
Nitro Offline
Registered User
 
Join Date: Oct 2004
Location: Indiana, USA
Posts: 7
Have you set your samba share with a user / password?

As above make sure you change hostname from localhost to mylinux (or other name of choice) in /etc/sysconfig/network and /etc/hosts to something along the lines of 127.0.0.1 localhost.localdomain localhost mylinux (or other name of choice)

Also can you go from FC2 samba to your winboxes? I.E. is this a 1 way traffic issue, can samba acesss a share on a winbox?
Reply With Quote
  #11  
Old 21st October 2004, 12:42 PM
tromas Offline
Registered User
 
Join Date: Oct 2004
Posts: 6
Did you open the firewall on the FC box
(137-139, 445 tcp and udp).
Reply With Quote
  #12  
Old 25th October 2004, 06:55 AM
michael_salcher Offline
Registered User
 
Join Date: Oct 2004
Posts: 1
quick win98 registry hack is the solution

the solution can be found at http://support.microsoft.com/kb/q187228/

details (taken from the above website):
This behavior occurs because Windows 98 does not send plain text passwords to Server Message Block (SMB) servers by default.

Method 1
Configure the Samba server to support Challenge-Handshake Authentication Protocol (CHAP) password encryption. Please refer to your Samba documentation for information on how to configure a Samba SMB server.
NOTE: This is the preferred method to resolve this issue because it is more secure than sending unencrypted passwords over the network.

Method 2
You can enable Password Authentication Protocol (PAP) plain text password use in Windows 98. To do so, use the following steps.
WARNING: If you enable plain text password use in Windows 98, all passwords are sent on the network in an unencrypted format. These passwords may be viewed by anyone using a network monitoring program. If security is a concern for your network environment, do not enable plain text passwords.
1. Insert your Windows 98 CD-ROM into the CD-ROM drive.
2. Click Start, and then click Run.
3. In the Open box, type <drive>:\tools\mtsutil, where <drive> is the letter of the CD-ROM drive that contains the Windows 98 CD-ROM, and then click OK.
4. Right-click the Ptxt_on.inf file, and then click Install.
5. Restart your computer.

Method 3
You should use the following method only if you do not have access to the Windows 98 CD-ROM. These steps enable PAP password use without the CD-ROM as mentioned in method 2.
1. Start Regedit.exe.
2. Locate the following key in the registry:
HKLM\System\CurrentControlSet\Services\VxD\VNETSUP
3. Change the data value for the EnablePlainTextPassword value to 1.
4. Restart your computer.
Reply With Quote
  #13  
Old 26th October 2004, 06:40 AM
sosmeister Offline
Registered User
 
Join Date: Oct 2004
Location: Dallas, TX
Posts: 5
I'm sure someone has already mentioned this, but make sure that you've opened up the ports in your Linux firewall. I had a similar problem a few weeks ago setting up Samba on a RH9 box, and silly me forgot to do this step and I had very similar symptoms. Try pinging the Linux box and see what results you get (I can't remember the specific port numbers off hand). Otherwise, it sounds like your Samba users aren't set up correctly.

If I'm wrong about something, let me know. I'm new here, and relatively new to Linux. Love the site by the way.
Reply With Quote
  #14  
Old 26th October 2004, 04:49 PM
jayemef's Avatar
jayemef Offline
Registered User
 
Join Date: Sep 2004
Location: Juniata College, PA
Age: 28
Posts: 629
If you're not using passwords on the windows boxes, do you even want your samba shares password protected? If not you might want to try using the force user parameter in your smb.conf file. The use of force user ensures that all files are owned by the same user identifier (UID) and thus ensures that there will never be a problem with file access due to the access permissions.
__________________
- JMF
Registered Linux User #371168

+Fedora Core 3 - k2.6.10-1.766_FC3
+WindowMaker 0.91.0
Reply With Quote
Reply

Tags
access, boxes, fc2, samba, shares, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to allow all users access to samba shares? thylacine222 Using Fedora 2 25th March 2007 04:09 AM
Can't access Samba shares from Windows KhaiPi Servers & Networking 15 21st August 2006 03:46 PM
VSFTPD access to mounted Samba shares Rybo Flavin Using Fedora 0 13th March 2006 05:03 AM
Can't access samba shares CCSITtech Servers & Networking 5 8th August 2005 07:59 AM


Current GMT-time: 12:30 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat