LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-24-2004, 05:44 PM   #1
rickg17
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Rep: Reputation: 0
Mandrake 10, Win SMB (Not...)


OK, this should be fairl simple, but something odd is happening and it doesn't sound like anything my searches here dug up. Sooo...


I've got 2 boxes, one running Mandrake 10 Official, the other a laptop running XP. The Mandrake box will contain all of my music files and I'd like to have access to the directory holding those via SMB. Simple, right? Here's what I did:

1) I did a clean install of Mandrake, installed SMB server and client, made sure to start the services.
2) Created a music folder in my home directory and shared it out.
3) Went into the Mandrake control center, into moutn points > Samba Mount Points and mounted the shared dir. It appears on my desktop as a shared folder and opens fine.
4) Rebooted for the heck of it.

So I go to the Thinkpad and, in My Networks, clicked on Entire Network, then on the workgroup (MDKGROUP). And there's nothing there. Tried mounting directly, by entering \\<ip>\<sharename>. XP claims "the network location can't be reached."

Some vital stats:

Mandrake 10.0 Official. Samba v 3.02. No firewall on at all. IP is 192.168.1.4. Folder is really at /home/rick/music. SMB user called rick and with valid password.

Thinkpad. Win XP SP2. IP = 192.168.1.10. Firewall on and off (tried both ways). I can ssh to the Mandrake box, and I can ftp to it. In fact, I can see the folders I want to share via SMB in my FTP client.

THings I've tried - everything. But the right thing apparently... Seriously:

1) Created another directory called software inside of /home/rick. shared that. Mounted it. Same result.

2) Installed swat, poked around, but nothing jumped out at me as a setting to change.

Altered workgroup name on XP box from the default (WORKGROUP) to match the MDK box (mdkgroup).

Any idea? I can muddle through matching up whether each box is using encrypted passwords etc, but I'm stumped as to why the shared directories simply don't show at all.

thanks,

rick
 
Old 10-24-2004, 07:29 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
please post your /etc/samba/smb.conf and i'll have a look

linux_terror
 
Old 10-24-2004, 09:02 PM   #3
rickg17
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks! Here it is. Neither shared folder (music or ricksoftware) appears. I also tried this with a null in realm.


# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/10/24 01:42:26

# Global parameters
[global]
dns proxy = No
log file = /var/log/samba/log.%m
netbios name = SHADOW
printing = cups
server string = Samba Server %v
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
workgroup = MDKGROUP
map to guest = Bad User
encrypt passwords = yes
printcap name = cups
realm = MEDIASERVER
security = DOMAIN
printer admin = @adm
max log size = 50

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes

[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" &

[music]
path = /home/rick/music/

[RICKSOFTWARE]
path = /home/rick/software
comment = /home/rick/software
public = yes
guest ok = yes
writable = no
 
Old 10-24-2004, 10:39 PM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
your right, the share looks like its done correctly, the RICKSOFTWARE one at least, the only thing i keep thinking is that its firewall related, most likely on the linux box side, Make sure your firewall is down, use other restricted ports to make sure. One shot in the dark thought, is this a wireless lan? if it is are you using wireless-G? cuz wireless-b won't do netbios <---truly a longshot

linux_terror
 
Old 10-24-2004, 11:06 PM   #5
rickg17
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Actually, not a bad guess. It is on a wireless network. and it is B. I got all excited and plugged into the router... no luck. damn... er, I mean darn...

I don't even have iptables or shorewall installed... Talk to me more about trying this on restricted ports though, 'cause on interesting thing is that I can't bring up the swat page except locally - I just get no data.

Thanks for the look.

Last edited by rickg17; 10-24-2004 at 11:16 PM.
 
Old 10-25-2004, 12:14 AM   #6
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
I stand corrected, I just connected to my samba server over wireless-b....wierdness, i was told it wasnt possible. Thats what i get for listening to hearsay.
 
Old 10-25-2004, 10:05 PM   #7
rickg17
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
OK, a bit more info... First off, this is a Windows issue, not a Mandrake issue. How do I know? Well...

I remembered that I'd installed Suse 9.1 Personal on the Thinkpad to try it out. Since it doesn't have a driver for my Netgear MA521 wireless card, I'd never really used it. Well, I booted into Suse (I'm posting this from Konquerer), plugged into the router, fired up Konquerer, typed in smb://192.168.1.4/music and... everything appeared just fine. And fast...

Thanks, MSFT...
 
Old 11-01-2004, 06:01 PM   #8
rickg17
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
OK, solved this. It was a (mis)configuration on Windows.

The Client Services for Microsoft Windows and File and Printer Sharing items in the Network Connections Control Panel were off. Turned them on, everything works (I had disabled them as a matter of course when I first configured this system).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandrake and win2k smb share dataangel Linux - Networking 5 10-19-2004 11:49 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM
Win Xp & Win 2000 & Mandrake 9.1 (ntoskrnl missing for xp) mcbaboon Linux - Newbie 8 10-14-2003 09:34 AM
printing to <SMB Share> win printer bbaley Linux - General 0 05-28-2003 12:46 PM

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

All times are GMT -5. The time now is 08:12 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