Nautilus File Share (SOLVED)

Re: Nautilus File Share

Postby ukbrian on Mon Jun 11, 2012 6:24 pm

altair4 wrote:@ukbrain, only when I get it right and this one may put me in retirement.
I'm already retired thankfully. :D
I couldn't get SolusOS to see my network drive for months and I was hoping you would show on their forums but it's working now. :lol:
I like the methodical way you do things and your patience with folk. Image
User avatar
ukbrian
Level 4
Level 4
 
Posts: 276
Joined: Thu Jul 29, 2010 6:03 am
Location: Cheltenham, UK

Linux Mint is funded by ads and donations.
 

Re: Nautilus File Share

Postby Fornhamfred on Tue Jun 12, 2012 12:20 pm

Thanks for the thoughts.

On reflection my last post was made after I had re-installed my original smb.conf. Changing back to Altair's version I could no longer see the other machine on the lan or access it from windows.

I re-entered my original smb.conf and remembered that this was a new install and the with the help of previous posting from Altair
viewtopic.php?f=42&t=23169 I have solved the problem.

Just one question Altair when doing testparm -s the comment Unknown parameter encountered: "SharePoint User Allow guests"
Ignoring unknown parameter "SharePoint User Allow guests" is shown. Deleting that line seems to effect being able to access the computer from windows and originated from one of the two posts listed above. If it is needed why does it show as it does in testparm?
Last edited by Fornhamfred on Tue Jun 12, 2012 2:30 pm, edited 1 time in total.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Nautilus File Share

Postby altair4 on Tue Jun 12, 2012 12:41 pm

Fornhamfred wrote:Just one question Altair when doing testparm -s the comment Unknown parameter encountered: "SharePoint User Allow guests"
Ignoring unknown parameter "SharePoint User Allow guests" is shown. Deleting that line seems to effect being able to access the computer from windows and originated from one of the two posts listed above. If it is needed why does it show as it does in testparm?

I know nothing about SharePoint but if you do a "man smb.conf" you will see no reference to it. Keeping the line or deleting the line should make no difference since when samba runs it ignores it:
Unknown parameter encountered: "SharePoint User Allow guests"
Ignoring unknown parameter "SharePoint User Allow guests"


"testparm" is a simulator that displays the affect your smb.conf has on the defaults ( the defaults are not in smb.conf - in fact the defaults are not in a user editable file). When samba runs it takes smb.conf, compares it to the defaults, makes any additions or overrides specified in smb.conf and runs with it - just like testparm says it will. If testparm says it's ignoring something chances are pretty good that the samba service that's running on your machine is ignoring it too.

It may well be that SharePoint is designed to have one of it's parameters specified in smb.conf for reasons I'm not privy to.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6219
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus File Share (SOLVED)

Postby Fornhamfred on Tue Jun 12, 2012 2:34 pm

Thanks Altair for you help.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Nautilus File Share (SOLVED)

Postby Fornhamfred on Sun Jun 24, 2012 12:28 pm

Just another little problem.

All seemed to work fine but now I cannot see either the windows machine from LMDE or LMDE from windows. How-ever if I restart samba everything works again.
In the samba log it states that samba has been started at boot, how-ever there is no output from "smbtree".
I found on google several comments about timing when starting up but could not follow them. Any suggestions please.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Nautilus File Share

Postby altair4 on Sun Jun 24, 2012 1:06 pm

I suspect that samba is started in the boot process before the network is up. The smbd part of that service will start just fine but the nmbd part will fail ( thus no smbtree output ) if there is no network.

Give this a shot:
Create a file:
Code: Select all
gksu gedit /etc/network/if-up.d/samba-restart

With this content:
Code: Select all
#!/bin/sh
service samba restart

Save the file and make it executable:
Code: Select all
sudo chmod +x /etc/network/if-up.d/samba-restart

Any script placed in if-up.d will run only after the network is up.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6219
Joined: Tue Feb 03, 2009 10:27 am

Re: Nautilus File Share

Postby Fornhamfred on Sun Jun 24, 2012 2:11 pm

Yes Thanks

Works like a dream.
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Re: Nautilus File Share (SOLVED)

Postby samjam on Wed Jul 11, 2012 11:22 am

So are "caja-share" or "mate-file-manager-share" every going to be added to the mind repos?
samjam
Level 1
Level 1
 
Posts: 16
Joined: Wed Nov 09, 2011 5:41 am

Re: Nautilus File Share (SOLVED)

Postby Fornhamfred on Thu Jul 12, 2012 2:21 pm

I would ask this question on the mate website http://forums.mate-desktop.org/index.php
Fornhamfred
Level 6
Level 6
 
Posts: 1134
Joined: Wed Oct 31, 2007 3:38 pm
Location: Suffolk UK

Linux Mint is funded by ads and donations.
 
Previous

Return to MATE

Who is online

Users browsing this forum: No registered users and 1 guest