<?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>SurlyJake &#187; share</title>
	<atom:link href="http://www.surlyjake.com/tag/share/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 15:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Group share for a Active Directory domain group with Samba</title>
		<link>http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-group-share-for-a-domain-group-with-samba</link>
		<comments>http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/#comments</comments>
		<pubDate>Wed, 06 May 2009 20:38:36 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[share]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=370</guid>
		<description><![CDATA[Once you have joined your samba server to your domain and have set up user authentication, creating a share that will allow a group of users to access files is pretty simple.  We need to create a folder that is owned by the root user and the domain group. The samba share will inherit permissions [...]]]></description>
			<content:encoded><![CDATA[<p>Once you have joined your <a href="http://www.surlyjake.com/tag/samba/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Samba">samba</a> server to your domain and have set up user authentication, creating a <a href="http://www.surlyjake.com/tag/share/" class="st_tag internal_tag" rel="tag" title="Posts tagged with share">share</a> that will allow a group of users to access files is pretty simple.  We need to create a folder that is owned by the root user and the domain group. The <a href="http://www.surlyjake.com/tag/samba/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Samba">samba</a> share will inherit permissions from the parent folder.  Here is an example for creating a folder for a domain group called &#8220;corporate_HR&#8221;. The domain is called &#8220;acme&#8221;. There is administrative support group called &#8220;admins&#8221;. Setting the folder&#8217;s permissions to &#8220;2771&#8243; means that the owner (root) and the group (corporate_HR) have full access.  The &#8220;2&#8243; is a setgid bit. It will force all new files created under the HR folder to take the group parameter from it&#8217;s parent.  We use the &#8220;force group&#8221; parameter to ensure that permissions are set properly when a member of the &#8220;ACME\admins&#8221; group accesses the files.</p>
<p>login as root.</p>
<p>to set up the filesystem:</p>
<pre><code>cd /home
mkdir HR
chgrp corporate_HR HR
chmod 2771 HR</code></pre>
<p>set up the share:</p>
<pre><code>[HR]
comment    =    share for corporate HR group
readonly    =   no
inherrit owner    =    yes
inherit permissions    =    yes
authorized users    =    @ACME\corporate_HR @ACME\admins
force group    =    ACME\corporate_HR</code></pre>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

