[SOLVED]Is there a firewall that prevents local filesharing?

Forums for the KDE Edition
Forum rules
Before you post please read this

[SOLVED]Is there a firewall that prevents local filesharing?

Postby jlacroix82 on Tue Mar 13, 2012 6:51 pm

I installed Mint KDE on my desktop, and for some reason, Samba does not work at all. My desktop can see itself, but no other machines. My other machines can all see each other, but not my Mint machine. It basically has the exact symptoms of a firewall in action. The Samba config file is one that I use on all of my other machines (Xubuntu 11.10 and Arch), and my other machines work fine.

is there something I need to disable?
Last edited by jlacroix82 on Sun Mar 18, 2012 10:27 am, edited 1 time in total.
jlacroix82
Level 1
Level 1
 
Posts: 20
Joined: Wed Jul 13, 2011 10:44 am

Linux Mint is funded by ads and donations.
 

Re: is there a firewall that prevents local filesharing?

Postby Habitual on Tue Mar 13, 2012 10:08 pm

Sanitize the output of
Code: Select all
testparm -s


and post the result please.
User avatar
Habitual
Level 7
Level 7
 
Posts: 1609
Joined: Sun Nov 21, 2010 8:31 pm
Location: uid=0(root) gid=0(root) groups=0(root)

Re: is there a firewall that prevents local filesharing?

Postby altair4 on Wed Mar 14, 2012 6:54 am

You might also want to run and post the output of this command as well:
Code: Select all
smbtree

Another thing you might want to do is go through the checklist here ( which talks about firewalls among other things ):
Samba Browsing Problems Checklist: viewtopic.php?f=42&t=88146&start=0
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4651
Joined: Tue Feb 03, 2009 10:27 am

Re: is there a firewall that prevents local filesharing?

Postby jlacroix82 on Wed Mar 14, 2012 8:14 pm

testparm (same exact output as on machines that are working):
Code: Select all
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Desktop]"
Processing section "[Music]"
Processing section "[Shared]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions


smbtree:
Code: Select all
LITTLEBIGPLANET
        \\POLARIS                       Jay's Desktop
                \\POLARIS\IPC$                  IPC Service (Jay's Desktop)
                \\POLARIS\Shared         
                \\POLARIS\Music         
                \\POLARIS\Desktop
jlacroix82
Level 1
Level 1
 
Posts: 20
Joined: Wed Jul 13, 2011 10:44 am

Re: is there a firewall that prevents local filesharing?

Postby altair4 on Fri Mar 16, 2012 12:08 pm

You might want to post the entire output of the following command:
Code: Select all
testparm -s
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4651
Joined: Tue Feb 03, 2009 10:27 am

Re: is there a firewall that prevents local filesharing?

Postby jlacroix82 on Fri Mar 16, 2012 5:51 pm

altair4 wrote:You might want to post the entire output of the following command:
Code: Select all
testparm -s

Here is the output.
Code: Select all
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Desktop]"
Processing section "[Music]"
Processing section "[Shared]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
        workgroup = LITTLEBIGPLANET
        server string = Jay's Desktop
        security = SHARE
        client lanman auth = Yes
        name resolve order = bcast hosts wins
        wins support = Yes

[Desktop]
        path = /home/jlacroix/Desktop
        force user = jlacroix
        read only = No
        guest ok = Yes

[Music]
        path = /home/jlacroix/Music
        force user = jlacroix
        guest ok = Yes

[Shared]
        path = /home/jlacroix/Shared
        force user = jlacroix
        read only = No
        guest ok = Yes
jlacroix82
Level 1
Level 1
 
Posts: 20
Joined: Wed Jul 13, 2011 10:44 am

Re: is there a firewall that prevents local filesharing?

Postby jlacroix82 on Sun Mar 18, 2012 10:25 am

Hello again, everyone. I want to go on record to say that when it comes to this specific situation, I am an IDIOT. Last night, as I was half asleep (of all times), it dawned on me: SUBNET MASK!!! I set my static IP and subnet mask (I assume correctly) but it defaulted to 255.255.0.0 which is wrong. So, now that I corrected the subnet mask, it works as expected.

Maybe this should be added to the Samba troubleshooting document posted earlier (checking the subnet mask on each machine)?

And here I thought it was a firewall (which has the exact same symptoms).
jlacroix82
Level 1
Level 1
 
Posts: 20
Joined: Wed Jul 13, 2011 10:44 am

Re: is there a firewall that prevents local filesharing?

Postby altair4 on Sun Mar 18, 2012 12:35 pm

jlacroix82 wrote:Hello again, everyone. I want to go on record to say that when it comes to this specific situation, I am an IDIOT. Last night, as I was half asleep (of all times), it dawned on me: SUBNET MASK!!! I set my static IP and subnet mask (I assume correctly) but it defaulted to 255.255.0.0 which is wrong. So, now that I corrected the subnet mask, it works as expected.

Maybe this should be added to the Samba troubleshooting document posted earlier (checking the subnet mask on each machine)?

Good idea. In fact I made it item number [1] since it's fundamental. Let me know if you think it's clear enough.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4651
Joined: Tue Feb 03, 2009 10:27 am

Re: is there a firewall that prevents local filesharing?

Postby jlacroix82 on Sun Mar 18, 2012 2:58 pm

altair4 wrote:
jlacroix82 wrote:Hello again, everyone. I want to go on record to say that when it comes to this specific situation, I am an IDIOT. Last night, as I was half asleep (of all times), it dawned on me: SUBNET MASK!!! I set my static IP and subnet mask (I assume correctly) but it defaulted to 255.255.0.0 which is wrong. So, now that I corrected the subnet mask, it works as expected.

Maybe this should be added to the Samba troubleshooting document posted earlier (checking the subnet mask on each machine)?

Good idea. In fact I made it item number [1] since it's fundamental. Let me know if you think it's clear enough.

Looks clear enough to me :) The only thing I do wonder about is that you said that it doesn't go across subnets by default. Are you saying that there is a way to make it do that? Or are you just referring to creating routes? You probably don't want to include in your document a way to make it look across subnets since that would be too confusing and probably not relevant, I was just curious.
jlacroix82
Level 1
Level 1
 
Posts: 20
Joined: Wed Jul 13, 2011 10:44 am

Re: [SOLVED]Is there a firewall that prevents local fileshar

Postby altair4 on Sun Mar 18, 2012 4:26 pm

I've reworded it - basically took out the first sentence.

In my mind I was thinking of a WINS server. Why I went there I have no idea :wink: It seems totally inappropriate in a home environment to do such a thing.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 13
Level 13
 
Posts: 4651
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 

Return to KDE

Who is online

Users browsing this forum: No registered users and 3 guests