<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/dev/root &#187; server</title>
	<atom:link href="http://devroot.org/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://devroot.org</link>
	<description>Rants of a grumpy sysadmin living in London.</description>
	<lastBuildDate>Mon, 30 Apr 2012 11:45:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Configuring samba server in Mac OS X Leopard</title>
		<link>http://devroot.org/2007/10/26/configuring-samba-server-in-mac-os-x-leopard/</link>
		<comments>http://devroot.org/2007/10/26/configuring-samba-server-in-mac-os-x-leopard/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 13:56:06 +0000</pubDate>
		<dc:creator>lynxman</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://devroot.org/2007/10/26/configuring-samba-server-in-mac-os-x-leopard/</guid>
		<description><![CDATA[If you don&#8217;t have Mac OS X Leopard server you have a Samba implementation limited mostly to home directories and a lot of borking around, if you&#8217;re a typical Unix Admin as I am you&#8217;ll want to take things in your hands and add the shares you want yourself in the command line. Leopard uses [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t have Mac OS X Leopard server you have a Samba implementation limited mostly to home directories and a lot of borking around, if you&#8217;re a typical Unix Admin as I am you&#8217;ll want to take things in your hands and add the shares you want yourself in the command line.</p>
<p>Leopard uses Samba 3 and its own authentication and locking methods connected to  its auth layer and afp locking so a typical samba config file won&#8217;t work, it also has a dynamically modificable part which is configured via System Preferences.</p>
<p>This is not the smartest method neither prepared for faint hearted people, but it&#8217;ll work if you&#8217;re used to Linux.</p>
<p>If you had samba already working on Tiger the changes are only at locking, vfs and user auth, which is what enables all the new Leopard system to work properly.</p>
<p>This are the exact changes from Tiger to Leopard</p>
<p><code><br />
# Changes affecting user mapping and authentication<br />
passdb backend = odsam<br />
idmap domains = default<br />
idmap config default: default = yes<br />
idmap config default: backend = odsam<br />
idmap alloc backend = odsam<br />
idmap negative cache time = 5<br />
obey pam restrictions = yes<br />
security = USER<br />
auth methods = guest odsam<br />
ntlm auth = yes<br />
lanman auth = no<br />
use kerberos keytab = yes<br />
com.apple: lkdc realm = LKDC:SHA1.xxx<br />
realm = LKDC:SHA1.xxx<br />
</code><br />
<code><br />
# Changes affecting the FS interaction and locks<br />
vfs objects = darwinacl,darwin_streams<br />
use sendfile = yes<br />
ea support = yes<br />
darwin_streams:brlm = yes<br />
enable core files = yes<br />
max smbd processes = 10<br />
log level = 1<br />
map to guest = Bad User<br />
</code></p>
<p>You want to take a look at the realm SHA1 strings since they&#8217;re dependant on your installation, you can always check the new /etc/smb.conf in Mac OS X Leopard and then merge it up with your previous config, or replace the config as I did and just add this.</p>
<p>The Leopard samba configuration is brilliant, but at the same time limited to push you to buy the Server version, at the same time it&#8217;s interesting to play with the includes it adds too, but this at least will get your previous samba config out and running fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://devroot.org/2007/10/26/configuring-samba-server-in-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

