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 |
please post your /etc/samba/smb.conf and i'll have a look
linux_terror |
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 |
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 |
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. |
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.
|
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... |
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). |
All times are GMT -5. The time now is 01:57 AM. |