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

18th November 2007, 07:16 PM
|
|
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.
|

18th November 2007, 07:46 PM
|
 |
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
|

18th November 2007, 08:10 PM
|
|
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.
|

18th November 2007, 08:57 PM
|
 |
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.
|

18th November 2007, 09:23 PM
|
 |
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.
|

19th November 2007, 05:41 AM
|
|
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.
|

19th November 2007, 12:52 PM
|
 |
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.
|

19th November 2007, 06:12 PM
|
|
Registered User
|
|
Join Date: May 2007
Posts: 7

|
|
|
Ummm, Actually I don't have a service named nmb in my Fedora !
|

24th November 2007, 08:15 PM
|
 |
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:15 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|