<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: OSX Lion Samba SMB shares broken &#8211; XBMC KODI not working	</title>
	<atom:link href="https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/</link>
	<description>I&#039;m a Computer science academic, working towards a PhD. I&#039;m researching digital privacy &#38; ethics. I also run a busy e-commerce business.</description>
	<lastBuildDate>Fri, 04 Sep 2026 08:45:42 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: marcel koedijk		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-3003</link>

		<dc:creator><![CDATA[marcel koedijk]]></dc:creator>
		<pubDate>Wed, 08 Feb 2012 07:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-3003</guid>

					<description><![CDATA[Works for me good on lion 10.7.3. Little problems with first time connect. Iam using samba for over years so i debug it and it works now.

Problems i saw. 

Create smbpasswd -a &quot;macusernaam&quot;. De macusernaam must also exist in passed, so use the same as your system credentials.

set in [global] security=user, this means that username/password is requirement by login. 

test your config with command &quot;testparms smb.conf&quot;. This will check if you configured  something wrong.

test you config with de built-in smbclient. smbclient -L netbiosname -U macusername.
username is only requirement when use security=user, and you create a existing user thats in passwd and smbpasswd. When netbiosname don&#039;t work, use the IP of the servers. If you get connected your server is working. Maybe you can&#039;t browse the folders on your sharen.

When i connect to dune i connect directly to the folder and it works for me.

name: &quot;name how to display&quot;
Type: SMB
Server: &quot;IP of your SMB server, properly your macbook&quot;
Map: &quot;Shared folder you connect to&quot;
User: &quot;User thats in smbpasswd&quot;
Password: &quot;user password&quot;

Only what not work for me was the automatic start while boot.

thx for de work instruction]]></description>
			<content:encoded><![CDATA[<p>Works for me good on lion 10.7.3. Little problems with first time connect. Iam using samba for over years so i debug it and it works now.</p>
<p>Problems i saw. </p>
<p>Create smbpasswd -a &#8220;macusernaam&#8221;. De macusernaam must also exist in passed, so use the same as your system credentials.</p>
<p>set in [global] security=user, this means that username/password is requirement by login. </p>
<p>test your config with command &#8220;testparms smb.conf&#8221;. This will check if you configured  something wrong.</p>
<p>test you config with de built-in smbclient. smbclient -L netbiosname -U macusername.<br />
username is only requirement when use security=user, and you create a existing user thats in passwd and smbpasswd. When netbiosname don&#8217;t work, use the IP of the servers. If you get connected your server is working. Maybe you can&#8217;t browse the folders on your sharen.</p>
<p>When i connect to dune i connect directly to the folder and it works for me.</p>
<p>name: &#8220;name how to display&#8221;<br />
Type: SMB<br />
Server: &#8220;IP of your SMB server, properly your macbook&#8221;<br />
Map: &#8220;Shared folder you connect to&#8221;<br />
User: &#8220;User thats in smbpasswd&#8221;<br />
Password: &#8220;user password&#8221;</p>
<p>Only what not work for me was the automatic start while boot.</p>
<p>thx for de work instruction</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sherif omran		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-3002</link>

		<dc:creator><![CDATA[sherif omran]]></dc:creator>
		<pubDate>Tue, 07 Feb 2012 07:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-3002</guid>

					<description><![CDATA[it does not work for me on 10.7.3 and gives exceptionkeynotfound
when in installed the software it kept on installing samba but never completes, then i had to install it from the image]]></description>
			<content:encoded><![CDATA[<p>it does not work for me on 10.7.3 and gives exceptionkeynotfound<br />
when in installed the software it kept on installing samba but never completes, then i had to install it from the image</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joao Prospero		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2987</link>

		<dc:creator><![CDATA[Joao Prospero]]></dc:creator>
		<pubDate>Sat, 21 Jan 2012 10:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2987</guid>

					<description><![CDATA[I&#039;m getting an error when launching the nmbd:
  bind failed on port 137 socket_addr = 0.0.0.0.
  Error = Address already in use
Any help on finding which process is using this?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting an error when launching the nmbd:<br />
  bind failed on port 137 socket_addr = 0.0.0.0.<br />
  Error = Address already in use<br />
Any help on finding which process is using this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: eduo		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2984</link>

		<dc:creator><![CDATA[eduo]]></dc:creator>
		<pubDate>Tue, 17 Jan 2012 23:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2984</guid>

					<description><![CDATA[As mentioned to John over twitter, I&#039;ve built a free tool to install, uninstall and manage Samba on OS X Lion. It&#039;s called SMBUp and can be found in MacUpdate (I won&#039;t link to it on John&#039;s blog out of deference, I don&#039;t want to look like a spammer :) ).

I&#039;m putting this comment here because this post is probably *THE* most linked post on Samba for Lion on the Internet. It sure is the one I used as a reference myself to give to dozens of friends until I decided to take it one step further and make it a fully-fledged tool and installer :) (you can see where I was planning to do so on my comment from October above).

Also: To uninstall the macports packages mentioned above you can just run the &quot;port&quot; command with the &quot;uninstall&quot; option:

sudo port uninstall --follow-dependencies samba3

You can delete Xcode by deleting the /Developer folder in your hard drive&#039;s disk (although I wouldn&#039;t recommend either, if you don&#039;t know what you&#039;re doing).]]></description>
			<content:encoded><![CDATA[<p>As mentioned to John over twitter, I&#8217;ve built a free tool to install, uninstall and manage Samba on OS X Lion. It&#8217;s called SMBUp and can be found in MacUpdate (I won&#8217;t link to it on John&#8217;s blog out of deference, I don&#8217;t want to look like a spammer 🙂 ).</p>
<p>I&#8217;m putting this comment here because this post is probably *THE* most linked post on Samba for Lion on the Internet. It sure is the one I used as a reference myself to give to dozens of friends until I decided to take it one step further and make it a fully-fledged tool and installer 🙂 (you can see where I was planning to do so on my comment from October above).</p>
<p>Also: To uninstall the macports packages mentioned above you can just run the &#8220;port&#8221; command with the &#8220;uninstall&#8221; option:</p>
<p>sudo port uninstall &#8211;follow-dependencies samba3</p>
<p>You can delete Xcode by deleting the /Developer folder in your hard drive&#8217;s disk (although I wouldn&#8217;t recommend either, if you don&#8217;t know what you&#8217;re doing).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2980</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Sun, 08 Jan 2012 15:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2980</guid>

					<description><![CDATA[Hi, would be very great full for some help as I got as far as: &quot;sudo port -d sync&quot;

and got this.....

Warning: /opt/local/etc/macports/sources.conf specifies invalid source &#039;rsync:file:///opt/mports/trunk/dports [default]&#039;, ignored.
Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default
can&#039;t read &quot;sources&quot;: no such variable
    while executing
&quot;lindex $sources end&quot;
    (procedure &quot;mportinit&quot; line 171)
    invoked from within
&quot;mportinit ui_options global_options global_variations&quot;
Error: /opt/local/bin/port: Failed to initialize MacPorts, can&#039;t read &quot;sources&quot;: no such variable]]></description>
			<content:encoded><![CDATA[<p>Hi, would be very great full for some help as I got as far as: &#8220;sudo port -d sync&#8221;</p>
<p>and got this&#8230;..</p>
<p>Warning: /opt/local/etc/macports/sources.conf specifies invalid source &#8216;rsync:file:///opt/mports/trunk/dports [default]&#8217;, ignored.<br />
Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default<br />
can&#8217;t read &#8220;sources&#8221;: no such variable<br />
    while executing<br />
&#8220;lindex $sources end&#8221;<br />
    (procedure &#8220;mportinit&#8221; line 171)<br />
    invoked from within<br />
&#8220;mportinit ui_options global_options global_variations&#8221;<br />
Error: /opt/local/bin/port: Failed to initialize MacPorts, can&#8217;t read &#8220;sources&#8221;: no such variable</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff Lloyd		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2960</link>

		<dc:creator><![CDATA[Jeff Lloyd]]></dc:creator>
		<pubDate>Sat, 17 Dec 2011 00:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2960</guid>

					<description><![CDATA[Hi There, 

If you are like me you probably depended on Samba &quot;SMB&quot; to allow your Popcorn Hour to communicate to your Mac in order to stream your content. If you are reading this message your content is no longer working. 

I made 2 short youtube videos for you to watch and get your content back online and working again.

Take some time and watch the video and post any questions you may have.

Part 1 http://youtu.be/O9RvZrCrg1Y

Part 2 http://youtu.be/9FOfeQdMqUY

Watch in Full Screen With 1080p Full Screen if you are having issues with see the font or terminal

Links and info you need

http://www.macports.org/install.php (Mac Ports Lion)
http://itunes.apple.com/us/app/xcode/id448457090?mt=12 (X Code)

Install Notes And Locations

sudo port -d sync
sudo port install samba3
sudo mv /opt/local/etc/samba3/smb.sample.conf /opt/local/etc/samba3/smb.conf
sudo vi /opt/local/etc/samba3


# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = WORKGROUP 

# server string is the equivalent of the NT Description field
server string = maggot 

# Security mode. Defines in which mode Samba will operate. Possible 
# values are share, user, server, domain and ads. Most people will want 
# user level security. See the Samba-HOWTO-Collection for details.
security = user

[Storage]
comment = Storage
path = /Volumes/Storage
available = yes
guest ok = yes
create mask = 644
directory mask = 755
read only = no

cd ~
vi samba.sh
i 
sudo /opt/local/sbin/smbd -D &#038;&#038; sudo /opt/local/sbin/nmbd -D
:wq!
chmod 755 samba
./samba

sudo killall smbd (This will restart/kill the samba process)]]></description>
			<content:encoded><![CDATA[<p>Hi There, </p>
<p>If you are like me you probably depended on Samba &#8220;SMB&#8221; to allow your Popcorn Hour to communicate to your Mac in order to stream your content. If you are reading this message your content is no longer working. </p>
<p>I made 2 short youtube videos for you to watch and get your content back online and working again.</p>
<p>Take some time and watch the video and post any questions you may have.</p>
<p>Part 1 <a href="http://youtu.be/O9RvZrCrg1Y" rel="nofollow ugc">http://youtu.be/O9RvZrCrg1Y</a></p>
<p>Part 2 <a href="http://youtu.be/9FOfeQdMqUY" rel="nofollow ugc">http://youtu.be/9FOfeQdMqUY</a></p>
<p>Watch in Full Screen With 1080p Full Screen if you are having issues with see the font or terminal</p>
<p>Links and info you need</p>
<p><a href="http://www.macports.org/install.php" rel="nofollow ugc">http://www.macports.org/install.php</a> (Mac Ports Lion)<br />
<a href="http://itunes.apple.com/us/app/xcode/id448457090?mt=12" rel="nofollow ugc">http://itunes.apple.com/us/app/xcode/id448457090?mt=12</a> (X Code)</p>
<p>Install Notes And Locations</p>
<p>sudo port -d sync<br />
sudo port install samba3<br />
sudo mv /opt/local/etc/samba3/smb.sample.conf /opt/local/etc/samba3/smb.conf<br />
sudo vi /opt/local/etc/samba3</p>
<p># workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH<br />
workgroup = WORKGROUP </p>
<p># server string is the equivalent of the NT Description field<br />
server string = maggot </p>
<p># Security mode. Defines in which mode Samba will operate. Possible<br />
# values are share, user, server, domain and ads. Most people will want<br />
# user level security. See the Samba-HOWTO-Collection for details.<br />
security = user</p>
<p>[Storage]<br />
comment = Storage<br />
path = /Volumes/Storage<br />
available = yes<br />
guest ok = yes<br />
create mask = 644<br />
directory mask = 755<br />
read only = no</p>
<p>cd ~<br />
vi samba.sh<br />
i<br />
sudo /opt/local/sbin/smbd -D &amp;&amp; sudo /opt/local/sbin/nmbd -D<br />
:wq!<br />
chmod 755 samba<br />
./samba</p>
<p>sudo killall smbd (This will restart/kill the samba process)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff Lloyd		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2959</link>

		<dc:creator><![CDATA[Jeff Lloyd]]></dc:creator>
		<pubDate>Fri, 16 Dec 2011 02:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2959</guid>

					<description><![CDATA[Also forget the launch thing it never works so run 

sudo /opt/local/sbin/smbd -D &#038;&#038; sudo /opt/local/sbin/nmbd -D
password
enter]]></description>
			<content:encoded><![CDATA[<p>Also forget the launch thing it never works so run </p>
<p>sudo /opt/local/sbin/smbd -D &amp;&amp; sudo /opt/local/sbin/nmbd -D<br />
password<br />
enter</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeff Lloyd		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2958</link>

		<dc:creator><![CDATA[Jeff Lloyd]]></dc:creator>
		<pubDate>Fri, 16 Dec 2011 01:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2958</guid>

					<description><![CDATA[it&#039;s important to note that when you are done installing and you have built your config that you need to create a local username for samba and you need to do that with your user account on your mac in my example jlloyd but it needs to be a different password then your normal workstation password example foobar. It will work after that.]]></description>
			<content:encoded><![CDATA[<p>it&#8217;s important to note that when you are done installing and you have built your config that you need to create a local username for samba and you need to do that with your user account on your mac in my example jlloyd but it needs to be a different password then your normal workstation password example foobar. It will work after that.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rob		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2949</link>

		<dc:creator><![CDATA[rob]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 16:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2949</guid>

					<description><![CDATA[Like Jerome, I installed the Samba3 server but get the &quot;bad network name error&quot;, when I check the availibility of my Samba-Server.

So when I enter this into Terminal:
rob:/ rob$ smbclient -L rob1

It just says:
Connection to rob1 failed (Error NT_STATUS_BAD_NETWORK_NAME)

This is what testparm says:
rob:/ rob$ testparm
Load smb config files from /opt/local/etc/samba3//smb.conf
Processing section &quot;[homes]&quot;
Processing section &quot;[Downloads]&quot;
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
	server string = rob1
	log file = /usr/local/samba/var/log.%m
	max log size = 50
	printcap name = lpstat
	dns proxy = No
	hosts allow = 192.168.1., 192.168.2., 127.

[homes]
	comment = Home Directories
	read only = No

[Downloads]
	comment = Downloads
	path = /Users/rob/Downloads
	valid users = rob
	read only = No
	create mask = 0644
	guest ok = Yes

It doesn&#039;t show up in testparm, but I also set up &quot;security = user&quot; and &quot;guest account = nobody&quot;. I also set up a Samba User called &quot;rob&quot; and enabled it.

What am I doing wrong? I have no clue, the firewall is also off ... I will appreciate every hint.


Regards
rob]]></description>
			<content:encoded><![CDATA[<p>Like Jerome, I installed the Samba3 server but get the &#8220;bad network name error&#8221;, when I check the availibility of my Samba-Server.</p>
<p>So when I enter this into Terminal:<br />
rob:/ rob$ smbclient -L rob1</p>
<p>It just says:<br />
Connection to rob1 failed (Error NT_STATUS_BAD_NETWORK_NAME)</p>
<p>This is what testparm says:<br />
rob:/ rob$ testparm<br />
Load smb config files from /opt/local/etc/samba3//smb.conf<br />
Processing section &#8220;[homes]&#8221;<br />
Processing section &#8220;[Downloads]&#8221;<br />
Loaded services file OK.<br />
Server role: ROLE_STANDALONE<br />
Press enter to see a dump of your service definitions</p>
<p>[global]<br />
	server string = rob1<br />
	log file = /usr/local/samba/var/log.%m<br />
	max log size = 50<br />
	printcap name = lpstat<br />
	dns proxy = No<br />
	hosts allow = 192.168.1., 192.168.2., 127.</p>
<p>[homes]<br />
	comment = Home Directories<br />
	read only = No</p>
<p>[Downloads]<br />
	comment = Downloads<br />
	path = /Users/rob/Downloads<br />
	valid users = rob<br />
	read only = No<br />
	create mask = 0644<br />
	guest ok = Yes</p>
<p>It doesn&#8217;t show up in testparm, but I also set up &#8220;security = user&#8221; and &#8220;guest account = nobody&#8221;. I also set up a Samba User called &#8220;rob&#8221; and enabled it.</p>
<p>What am I doing wrong? I have no clue, the firewall is also off &#8230; I will appreciate every hint.</p>
<p>Regards<br />
rob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Drew		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2921</link>

		<dc:creator><![CDATA[Drew]]></dc:creator>
		<pubDate>Mon, 05 Dec 2011 23:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2921</guid>

					<description><![CDATA[Would anyone be willing to post some files that we could download for reference? I need SMB to work but afraid this is all a bit over my head.]]></description>
			<content:encoded><![CDATA[<p>Would anyone be willing to post some files that we could download for reference? I need SMB to work but afraid this is all a bit over my head.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ken		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2912</link>

		<dc:creator><![CDATA[Ken]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 09:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2912</guid>

					<description><![CDATA[I too would appreciate some instructions on how to uninstall the above]]></description>
			<content:encoded><![CDATA[<p>I too would appreciate some instructions on how to uninstall the above</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ken		</title>
		<link>https://www.johnlarge.co.uk/osx-lion-samba-smb-shares-broken-xbmc-not-working/#comment-2911</link>

		<dc:creator><![CDATA[Ken]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 09:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnlarge.co.uk/?p=437#comment-2911</guid>

					<description><![CDATA[After hours and hours on the phone to Mac support, they suggested this linkm to get my OSX Lion MBP and iMac to work with my SMB NAS drive again.

Unfortunately, after following the above and receiving no errors, I still get the &quot;server unsupported&quot; message when trying to connect to my NAS (through finder).

Has anyone got any suggestions that I could try other than reinstalling back to Snow Leopard?!]]></description>
			<content:encoded><![CDATA[<p>After hours and hours on the phone to Mac support, they suggested this linkm to get my OSX Lion MBP and iMac to work with my SMB NAS drive again.</p>
<p>Unfortunately, after following the above and receiving no errors, I still get the &#8220;server unsupported&#8221; message when trying to connect to my NAS (through finder).</p>
<p>Has anyone got any suggestions that I could try other than reinstalling back to Snow Leopard?!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
