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 18th November 2007, 07:16 PM
AbuShokry Offline
Registered User
 
Join Date: May 2007
Posts: 7
unable to access my fedora shares from windows

Hi, I have 2 PCs one running Fedora core 6 and the other is Windows XP sp2. from the Linux side the Network between these two machines seems fine, I can access the Windows shares. But sadly I can't do the opposite, I can't access the Linux machine from the Windows.

when i try to ping the Linux machine from Windows, it responds.

I'm using Samba 3.0.24-3

Here is the share definitions part from the smb.conf

Code:
 [homes]
comment = Home Directories
browseable = yes
read only = no

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

;	comment = test
;	path = /mnt/1
;	writable = no
;	share modes = yes

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes

[Picso]
path = /mnt/3/Pics/
guest ok = yes

[SPEEDTOUCH33]
path = /home/AbuShokry/SpeedTouch330_firmware_3012.zip_FILES
guest ok = yes

Thank you.
Reply With Quote
  #2  
Old 18th November 2007, 07:46 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,932
In a terminal, try smbpasswd -a username. If the user on the Windows box is called abu then type smbpasswd -a abu. Press enter when prompted for passwords. Restart samba, /sbin/service smb restart, and try to login from Windows.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 18th November 2007, 08:10 PM
AbuShokry Offline
Registered User
 
Join Date: May 2007
Posts: 7
Quote:
Originally Posted by glennzo
In a terminal, try smbpasswd -a username. If the user on the Windows box is called abu then type smbpasswd -a abu. Press enter when prompted for passwords. Restart samba, /sbin/service smb restart, and try to login from Windows.
It didn't work either, But when I opened the the samba log files and checked my XP machine log file I found the following message:

[2007/11/18 22:02:54, 0] smbd/negprot.c:reply_nt1(328)
reply_nt1: smb signing is incompatible with share level security !

I thought that this might be related to the firewall and the SELinux, so I disabled them, But still it didn't work.
Reply With Quote
  #4  
Old 18th November 2007, 08:57 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Hrrm, maybe change security model from share to user?

Also, I think glennzo didn'tmention this--with the smbpasswd -a thingie, you have make sure that the password you give abu is the password abu uses on the Windows machine.
For example, you can have abu on the Fedora box with a password of 1234 and on the Windows box with a password of 4321. When you use the smbpasswd -a, you give abu the 4321 password, NOT the 1234 password.
Reply With Quote
  #5  
Old 18th November 2007, 09:23 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,849
Hello probably a silly question, but are your linux shares on a fat partition or something like that as windows cannot read linux partitions by default.
Reply With Quote
  #6  
Old 19th November 2007, 05:41 AM
AbuShokry Offline
Registered User
 
Join Date: May 2007
Posts: 7
Quote:
Originally Posted by scottro
Hrrm, maybe change security model from share to user?

Also, I think glennzo didn'tmention this--with the smbpasswd -a thingie, you have make sure that the password you give abu is the password abu uses on the Windows machine.
For example, you can have abu on the Fedora box with a password of 1234 and on the Windows box with a password of 4321. When you use the smbpasswd -a, you give abu the 4321 password, NOT the 1234 password.
I already did that. The problem is that I don't get even a login window when i try to access the samba server, Windows just says

\\10.0.0.3
The network path was not found.

But as I mentioned, I can ping this machine with no problems.

and yes "Dangermouse" the shared folders are on vfat partitions.
Reply With Quote
  #7  
Old 19th November 2007, 12:52 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
AHA. I might have the answer.

You have smb running but.... (dramatic pause) do you also have nmb running?

Check with
pgrep nmb

If not, then

/etc/init.d/nmb start
To have it start at boot, assuming you want samba always running

/sbin/chckconfig nmb on

Often, we forget to do that. The nmb program is the one that more or less announces "Hey, I'm here" to Windows machines.

A quick PS. You should have mentioned that from the start.
Reply With Quote
  #8  
Old 19th November 2007, 06:12 PM
AbuShokry Offline
Registered User
 
Join Date: May 2007
Posts: 7
Ummm, Actually I don't have a service named nmb in my Fedora !
Reply With Quote
  #9  
Old 24th November 2007, 08:15 PM
xpan's Avatar
xpan Offline
Registered User
 
Join Date: Mar 2005
Location: Athens, Greece
Age: 38
Posts: 40
Hi.

Similar problems here:

this is my share

[public]
path = /home/xpan/public
writeable = yes
browseable = yes
guest ok = yes

but I can´t connect from my windows machine. It says that I don´t have permission to do so

even if I try to create a new network drive on this: \\192.168.1.64\public

it says the same thing...

any ideas?

I have also tried to do what this user says:

http://www.mjmwired.net/resources/mj...-f8.html#samba
__________________
AMD64
nVidia 6200/256MB
MSI K8N nForce4 Chipset + 1GB RAM
250GB Barracuda SATA2
Fedora 8 + Gnome
Reply With Quote
Reply

Tags
access, fedora, shares, unable, 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
Unable to access fedora 10 shared folder from windows nightmare49 Servers & Networking 6 19th August 2009 09:33 AM
Fedora 10 Unable to access to Windows Share Folders on the LAN. gaaurav_singh Servers & Networking 1 4th March 2009 03:00 PM
access windows shares Sh@un Servers & Networking 16 7th May 2008 08:39 PM
how to access windows shares in fedora 7? starstatras Servers & Networking 9 24th October 2007 09:31 PM
unable to access mapped samba shares blitzo Servers & Networking 2 17th October 2007 07:20 PM


Current GMT-time: 13:15 (Friday, 24-05-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