LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-27-2004, 02:27 PM   #1
Stevyn
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Can't access windows shares


Here's my setup:

I have Mandrake 10 installed on a laptop that I am trying to connect to my home network. There are several other computers, 3 winxp and 1 win2000. They all can see each other and their shares work properly. This laptop running windows xp can see everything properly. The network is basically controlled by the linksys router that connects up to the cable modem to share internet access on all the computers. Internet works fine on each computer.

The problem arises when I try to browse the smb shares of the other windows computers from my linux laptop. The windows computers can see me and my shares which work fine and are writable. Therefore, I know that samba is almost working properly. When I try to browse the other computers in LinNeighborhood they computer name shows up but when I double click it to see their shares, nothing happens. When I try to browse in smb4k only my computer shows up. When I try to mount them manually from the terminal it says it can not locate the computer. Here's the output of that (i am "stevyn" and Library is a windows xp box with a share called "Data"

[root@localhost stevyn]# smbmount //Library/Date /home/stevyn/lib_data
7406: Connection to Library failed
SMB connection failed
[root@localhost stevyn]#

Everything I've found from googling for two days explains the opposite, linux not being seen from windows so this confuses me. Here is my smb.conf file:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/05/27 13:28:01

# Global parameters
[global]
workgroup = MSHOME
netbios name = STEVYN-MANDRAKE
server string = laptop
map to guest = Bad User
null passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
server signing = auto
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = cups
preferred master = No
domain master = No
dns proxy = No
ldap ssl = no
printer admin = @adm
guest ok = Yes
printing = cups
encrypt passwords = yes
security = share
ro
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" &

[MY_MUSIC]
path = /mnt/win_c2/My Music

[LINUX]
path = /mnt/win_c2/Linux

[SHARED_DOCS]
path = /home/stevyn/Shared_Docs
admin users = nobody,stevyn
force user = nobody
force group = fileshare
inherit permissions = yes
inherit acls = yes
msdfs proxy = no
read only = no


By the way, none of these computers have a firewall on them, that's all done through the router. Any ideas?
 
Old 05-27-2004, 02:29 PM   #2
Stevyn
LQ Newbie
 
Registered: May 2004
Posts: 2

Original Poster
Rep: Reputation: 0
oops

sorry, that "ro" above [printers] doesn't appear in the file, it's a typo. everything else looks good though
 
Old 08-18-2004, 04:01 AM   #3
neurotix
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Re: Can't access windows shares

Quote:
Originally posted by Stevyn
Here's my setup:

I have Mandrake 10 installed on a laptop that I am trying to connect to my home network. There are several other computers, 3 winxp and 1 win2000. They all can see each other and their shares work properly. This laptop running windows xp can see everything properly. The network is basically controlled by the linksys router that connects up to the cable modem to share internet access on all the computers. Internet works fine on each computer.

The problem arises when I try to browse the smb shares of the other windows computers from my linux laptop. The windows computers can see me and my shares which work fine and are writable. Therefore, I know that samba is almost working properly. When I try to browse the other computers in LinNeighborhood they computer name shows up but when I double click it to see their shares, nothing happens. When I try to browse in smb4k only my computer shows up. When I try to mount them manually from the terminal it says it can not locate the computer. Here's the output of that (i am "stevyn" and Library is a windows xp box with a share called "Data"

[root@localhost stevyn]# smbmount //Library/Date /home/stevyn/lib_data
7406: Connection to Library failed
SMB connection failed
[root@localhost stevyn]#

Everything I've found from googling for two days explains the opposite, linux not being seen from windows so this confuses me. Here is my smb.conf file:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/05/27 13:28:01

# Global parameters
[global]
workgroup = MSHOME
netbios name = STEVYN-MANDRAKE
server string = laptop
map to guest = Bad User
null passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
server signing = auto
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = cups
preferred master = No
domain master = No
dns proxy = No
ldap ssl = no
printer admin = @adm
guest ok = Yes
printing = cups
encrypt passwords = yes
security = share
ro
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" &

[MY_MUSIC]
path = /mnt/win_c2/My Music

[LINUX]
path = /mnt/win_c2/Linux

[SHARED_DOCS]
path = /home/stevyn/Shared_Docs
admin users = nobody,stevyn
force user = nobody
force group = fileshare
inherit permissions = yes
inherit acls = yes
msdfs proxy = no
read only = no


By the way, none of these computers have a firewall on them, that's all done through the router. Any ideas?
High Stevyn,

I believe, that your mounting-problem has nothing to do with your smb.conf or with your samba-server. The smbclient is a sepatate tool, you could it use also, when you would not have a samba-server running.
Frendly greetings from germany,
by Heinz.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access Windows XP shares from Linux FKereki Linux - Software 14 08-03-2005 07:14 PM
Access windows shares from Linux crossconnects Linux - Networking 4 04-23-2004 04:22 PM
Can't Access shares from Windows sideveloper Red Hat 4 09-01-2003 08:59 AM
Can't access samba shares from windows nuzzy Linux - Software 2 07-17-2002 05:44 AM
can't access windows shares linus Linux - Networking 1 01-15-2002 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration