<?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>Helene &#187; active directory</title>
	<atom:link href="http://klungvik.com/index.php/tag/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://klungvik.com</link>
	<description>Site of wonder (my personal sandbox)</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:52:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Automount Windows Active Directory shared drives in Linux</title>
		<link>http://klungvik.com/index.php/2009/automount-windows-ad-shared-drives-in-linux/</link>
		<comments>http://klungvik.com/index.php/2009/automount-windows-ad-shared-drives-in-linux/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:12:56 +0000</pubDate>
		<dc:creator>Helene Klungvik</dc:creator>
				<category><![CDATA[IT & Programming]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[likewise-open]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://klungvik.com/?p=747</guid>
		<description><![CDATA[Requirements: Likewise-open is installed and working. Likewise-open plug in to pam to authenticate Windows AD users on a linux box. pam-mount will mount shared drives at login time using the login credentials. There is no need for samba to do this, and no need to write down your username and password in a file. Install [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Requirements:</strong><br />
Likewise-open is installed and working.</p>
<p>Likewise-open plug in to pam to authenticate Windows AD users on a linux box. pam-mount will mount shared drives at login time using the login credentials. There is no need for samba to do this, and no need to write down your username and password in a file.</p>
<ol>
<li>Install pam-mount.<br />
sudo apt-get install libpam-mount<br />
sudo mkdir -p /media/shared_folder_name</li>
<li>Set up shared drives to mount:<br />
sudo gedit /etc/security/pam_mount.conf.xml<br />
<code >&lt;!-- Volume definitions --&gt;<br />
&lt;!-- &lt;volume fstype="cifs" server="server ip adress" user="*" path="to_shared_folder" mountpoint="shared_folder_name" /&gt; --&gt;<br />
&lt;volume fstype="cifs" server="192.168.140.00" user="*" path="felles" mountpoint="/media/server_felles" /&gt;</code></li>
<li>Make gdm automatically mount shared folders at login:<br />
<code > sudo gedit /etc/pam.d/gdm</code><br />
At the bottom of the file, add the following:<br />
<code >@include common-pammount</code>
</li>
</ol>
<p>Reboot and log in again. The shared drive should be available.</p>
<p>Resources:<br />
<a href="https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount%20password%20protected%20network%20folders%20without%20credentials%20file%20using%20libpam_mount">wiki.ubuntu.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://klungvik.com/index.php/2009/automount-windows-ad-shared-drives-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
